System.Resources.IResourceWriter.AddResource Method

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

Syntax

public void AddResource (string name, string value)

Parameters

name
The name of the resource.
value
The value of the resource.

Remarks

The resource is not written until the IResourceWriter.Generate method is called.

Requirements

Namespace: System.Resources
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0, 4.0.0.0