TemplateControl.GetGlobalResourceObject Method (String, String, Type, String)
.NET Framework 2.0
Gets an application-level resource object based on the specified ClassKey and ResourceKey properties, object type, and property name of the resource.
Namespace: System.Web.UI
Assembly: System.Web (in system.web.dll)
Assembly: System.Web (in system.web.dll)
protected:
Object^ GetGlobalResourceObject (
String^ className,
String^ resourceKey,
Type^ objType,
String^ propName
)
protected Object GetGlobalResourceObject ( String className, String resourceKey, Type objType, String propName )
protected function GetGlobalResourceObject ( className : String, resourceKey : String, objType : Type, propName : String ) : Object
Not applicable.
Parameters
- className
A string representing a ClassKey.
- resourceKey
A string representing a ResourceKey.
- objType
The type of object in the resource to get.
- propName
The property name of the object to get.
Return Value
An object representing the requested resource object; otherwise, a null reference (Nothing in Visual Basic).Application-level resources are stored in the App_GlobalResources folder. For more information, see Resources in ASP.NET Applications.
Community Additions
ADD
Show: