NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

IResourceWriter.AddResource

Overloaded. Adds a resource to the list of resources to be written to an output file or output stream. The resource is not written until Write is called.

Overload List

Adds a named resource of type Object to the list of resources to be written. The resource is not written until Write is called.

[Visual Basic] Overloads Sub AddResource(String, Object)
[C#] void AddResource(String, Object);
[C++] void AddResource(String*, Object) = 0;
[JScript] function AddResource(String, Object);

Adds a resource with the specified name and value to the list of resources that will be written.

[Visual Basic] Overloads Sub AddResource(String, String)
[C#] void AddResource(String, String);
[C++] void AddResource(String*, String*) = 0;
[JScript] function AddResource(String, String);

Adds a byte array as a named resource to the list of resources to be written. The resources are not written until Write is called.

[Visual Basic] Overloads Sub AddResource(String, Byte())
[C#] void AddResource(String, byte[]);
[C++] void AddResource(String*, unsigned char[]) = 0;
[JScript] function AddResource(String, Byte[]);

See Also

IResourceWriter Interface | IResourceWriter Members | System.Resources Namespace