System.Web Namespace TemplateControl Class
.NET Framework version 2.0
Gets a page-level resource object based on the specified ResourceKey property, object type, and property name.
[ VB ]
Protected Shared Function GetLocalResourceObject ( _
resourceKey As String, _
objType As Type, _
propName As String _
) As Object
[ C# ]
protected Object GetLocalResourceObject (
string resourceKey,
Type objType,
string propName
)
[ C++ ]
protected:
static Object^ GetLocalResourceObject (
String^ resourceKey,
Type^ objType,
String^ propName
)
[ JScript ]
protected Object GetLocalResourceObject (
String resourceKey,
Type objType,
String propName
)
- resourceKey
- A string that represents the ResourceKey of the requested resource object.
- objType
- The type of the resource object to get.
- propName
- A string that represents the property name of the resource object to get.
An object that represents the requested page-level resource object; otherwise, a null reference ( Nothing in Visual Basic ) is returned.
The following example illustrates using one of the overload versions of the GetLocalResourceObject method.
Show me
GetLocalResourceObject Method Overload List TemplateControl Members