This documentation is archived and is not being maintained.

IResourceWriter.AddResource Method

Adds a resource to the list of resources to be written to an output file or output stream.

Overload List

Adds an 8-bit unsigned integer array as a named resource to the list of resources to be written.

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

Adds a named resource of type Object to the list of resources to be written.

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

Adds a named resource of type String to the list of resources to be written.

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

See Also

IResourceWriter Interface | IResourceWriter Members | System.Resources Namespace

Show: