TemplateControl.GetLocalResourceObject Method (String, Type, String)
.NET Framework 2.0
Gets a page-level resource object based on the specified ResourceKey property, object type, and property name.
Namespace: System.Web.UI
Assembly: System.Web (in system.web.dll)
Assembly: System.Web (in system.web.dll)
'Declaration Protected Function GetLocalResourceObject ( _ resourceKey As String, _ objType As Type, _ propName As String _ ) As Object 'Usage Dim resourceKey As String Dim objType As Type Dim propName As String Dim returnValue As Object returnValue = Me.GetLocalResourceObject(resourceKey, objType, propName)
protected Object GetLocalResourceObject ( String resourceKey, Type objType, String propName )
protected function GetLocalResourceObject ( resourceKey : String, objType : Type, propName : String ) : Object
Not applicable.
Parameters
- resourceKey
A string representing a ResourceKey.
- objType
The type of the resource object to get.
- propName
The property name of the resource object to get.
Return Value
An object representing the requested resource object; otherwise, a null reference (Nothing in Visual Basic).Local resource files are stored in the App_LocalResources directory. For more information, see Resources in ASP.NET Applications
Community Additions
ADD
Show: