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!

ResourceSet.GetString

Looks up a String value for a resource given its name.

[Visual Basic]
Overridable Public Function GetString( _
   ByVal name As String _
) As String
[C#]
public virtual string GetString(
   string name
);
[C++]
public: virtual String* GetString(
   String* name
);
[JScript]
public function GetString(
   name : String
) : String;

Parameters

name
Name of the resource to look up.

Return Value

The String value of a resource.

Exceptions

Exception Type Condition
ArgumentNullException If name is a null reference (in Visual Basic Nothing).
InvalidOperationException If the value of the resource is not a String or if this ResourceSet has been closed.

See Also

ResourceSet Class | ResourceSet Members | System.Resources Namespace