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!

ResourceManager.GetObject

Gets the value of the specified resource.

Overload List

Returns the value of the specified resource. The resource that is returned is localized for the culture determined by the current cultural settings of the current Thread (this is accomplished via the culture's CurrentUICulture property). If the resource has not been localized for that culture, the resource that is returned is localized for a "best match" (this is accomplished via the Parent property). Otherwise, a a null reference (in Visual Basic Nothing) reference is returned.

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

Gets the value of the specified resource. The resource that is returned is localized for the specified culture. If the resource has not been localized for that culture, the resource that is returned is localized for a "best match" (this is accomplished via the culture's CurrentUICulture property). Otherwise, a a null reference (Nothing) reference is returned.

[Visual Basic] Overloads Overridable Public Function GetObject(String, CultureInfo) As Object
[C#] public virtual object GetObject(String, CultureInfo);
[C++] public: virtual Object* GetObject(String*, CultureInfo);
[JScript] public function GetObject(String, CultureInfo) : Object;

See Also

ResourceManager Class | ResourceManager Members | System.Resources Namespace