Writes all resources added by the AddResource method to the output file or stream.
[Visual Basic] Public Overridable Sub Generate() Implements _ IResourceWriter.Generate [C#] public virtual void Generate(); [C++] public: virtual void Generate(); [JScript] public function Generate();
|InvalidOperationException||The resource has already been saved.|
Writes the resources to the file or stream.
Generate does not close the output file or output stream. Instead, consider calling Close. Generate is useful when you need to create a resource file, but you do not want to close the output stream. Generate can only be called once. After calling Generate, all IResourceWriter methods other than Close will throw an exception.
Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family