HttpContextBase.GetGlobalResourceObject Method (String, String)

 

When overridden in a derived class, gets an application-level resource object based on the specified ClassKey and ResourceKey properties.

Namespace:   System.Web
Assembly:  System.Web (in System.Web.dll)

Public Overridable Function GetGlobalResourceObject (
	classKey As String,
	resourceKey As String
) As Object

Parameters

classKey
Type: System.String

A string that represents the ClassKey property of the requested resource object.

resourceKey
Type: System.String

A string that represents the ResourceKey property of the requested resource object.

Return Value

Type: System.Object

The requested application-level resource object, or null if no matching resource object is found.

Exception Condition
NotImplementedException

Always.

.NET Framework
Available since 3.5
Return to top
Show: