This documentation is archived and is not being maintained.
IResourceWriter Interface
Visual Studio 2010
Provides functionality to write resources to an output file or stream.
Assembly: mscorlib (in mscorlib.dll)
The IResourceWriter type exposes the following members.
| Name | Description | |
|---|---|---|
![]() | AddResource(String, array<Byte>) | Adds an 8-bit unsigned integer array as a named resource to the list of resources to be written. |
![]() | AddResource(String, Object) | Adds a named resource of type Object to the list of resources to be written. |
![]() | AddResource(String, String) | Adds a named resource of type String to the list of resources to be written. |
![]() | Close | Closes the underlying resource file or stream, ensuring all the data has been written to the file. |
![]() | Dispose | Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. (Inherited from IDisposable.) |
![]() | Generate | Writes all the resources added by the AddResource method to the output file or stream. |
Use resource writers to write resources in a particular file format. Generally, users will create a resource writer, call AddResource to add resources, and then call either Generate or Close to close the resource file.
See Encoding and Localization for details on the default resource file format.
Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows XP SP2 x64 Edition, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Show:
