NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

IResourceWriter.AddResource (String, String)

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
);

Parameters

name
The name of a resource be added.
value
The value of the resource.

Exceptions

Exception Type Condition
ArgumentException if either parameter is a null reference (in Visual Basic Nothing)

See Also

IResourceWriter Interface | IResourceWriter Members | System.Resources Namespace | IResourceWriter.AddResource Overload List