public interface IResourceWriter : IDisposable
|
See the the conceptual topic at MSDN: designingglobalapplications for details on the default resource file format.
AddResource | Overloaded:AddResource(string name, byte[] value) Adds an 8-bit unsigned integer array as a named resource to the list of resources to be written. |
AddResource | Overloaded:AddResource(string name, object value) Adds a named resource of type Object to the list of resources to be written. |
AddResource | Overloaded:AddResource(string name, string value) 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. |
Generate | Writes all the resources added by the IResourceWriter.AddResource method to the output file or stream. |
Hierarchy:
name
value
Exception Type | Condition |
---|---|
ArgumentNullException | The name parameter is null. |
name
value
Exception Type | Condition |
---|---|
ArgumentNullException | The name parameter is null. |
name
value
Exception Type | Condition |
---|---|
ArgumentException | The name parameter is null. |
void Close(); |
void Generate(); |