IResourceWriter::AddResource Method (String^, array<Byte>^)

 

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

Namespace:   System.Resources
Assembly:  mscorlib (in mscorlib.dll)

void AddResource(
	String^ name,
	array<unsigned char>^ value
)

Parameters

name
Type: System::String^

Name of a resource.

value
Type: array<System::Byte>^

Value of a resource as an 8-bit unsigned integer array.

Exception Condition
ArgumentNullException

The name parameter is null.

The resources are not written until the Generate method is called.

.NET Framework
Available since 1.1
Return to top
Show: