System.Resources.ResXResourceWriter.AddResource Method

Adds a string resource to the resources.

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 ResXResourceWriter.Generate is called.

Requirements

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