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

 

Adds a named resource specified as a byte array to the list of resources to write.

Namespace:   System.Resources
Assembly:  System.Windows.Forms (in System.Windows.Forms.dll)

public:
virtual void AddResource(
	String^ name,
	array<unsigned char>^ value
) sealed

Parameters

name
Type: System::String^

The name of the resource.

value
Type: array<System::Byte>^

The value of the resource to add as an 8-bit unsigned integer array.

The resource is not written until Generate is called.

The resource is serialized and stored in a binary format.

.NET Framework
Available since 1.1
Return to top
Show: