This documentation is archived and is not being maintained.

IResourceWriter.Generate Method

Writes all the resources added by the AddResource method to the output file or stream.

[Visual Basic]
Sub Generate()
[C#]
void Generate();
[C++]
void Generate();
[JScript]
function Generate();

Remarks

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 don't 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.

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also

IResourceWriter Interface | IResourceWriter Members | System.Resources Namespace

Show: