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;
Returns the object value of a resource.
Exception Type | Condition |
---|---|
ArgumentNullException | If name is a null reference (in Visual Basic Nothing). |
InvalidOperationException | If this ResourceSet et has been closed. |
ResourceSet Class | ResourceSet Members | System.Resources Namespace