System.Resources.ResXResourceWriter.AddResource Method

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

Syntax

public void AddResource (string name, byte[] value)

Parameters

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

Remarks

The resource is not written until ResXResourceWriter.Generate is called.

The resource is serialized and stored in a binary format.

Requirements

Namespace: System.Resources
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0