Adds a resource with the specified name and value to the list of resources that will be written.
[Visual Basic] Overloads Sub AddResource( _ ByVal name As String, _ ByVal value As String _ ) [C#] void AddResource( string name, string value ); [C++] void AddResource( String* name, String* value ) = 0; [JScript] function AddResource( name : String, value : String );
Exception Type | Condition |
---|---|
ArgumentException | if either parameter is a null reference (in Visual Basic Nothing) |
IResourceWriter Interface | IResourceWriter Members | System.Resources Namespace | IResourceWriter.AddResource Overload List