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.GetObject

Looks up an object value for a resource given its name.

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

Parameters

name
Name of the resource to look up.

Return Value

Returns the object value of a resource.

Exceptions

Exception Type Condition
ArgumentNullException If name is a null reference (in Visual Basic Nothing).
InvalidOperationException If this ResourceSet et has been closed.

See Also

ResourceSet Class | ResourceSet Members | System.Resources Namespace