System.Web Namespace HttpContext Class
.NET Framework version 2.0
Gets an application-level resource object based on the specified ClassKey and ResourceKey properties and CultureInfo object.
[ VB ]
Public Shared Function GetGlobalResourceObject ( _
classKey As String, _
resourceKey As String, _
culture As CultureInfo _
) As Object
[ C# ]
public static Object GetGlobalResourceObject (
string classKey,
string resourceKey,
CultureInfo culture
)
[ C++ ]
public:
static Object^ GetGlobalResourceObject (
String^ classKey,
String^ resourceKey,
CultureInfo^ culture
)
[ JScript ]
public static Object GetGlobalResourceObject (
String classKey,
String resourceKey,
CultureInfo culture
)
- classKey
- A string that represents the ClassKey of the requested resource object.
- resourceKey
- A string that represents the ResourceKey of the requested resource object.
- culture
- A string that represents the CultureInfo of the requested resource.
An object that represents the requested application-level resource object, localized for the specified culture. If a matching resource object is found, but not a resourceKey, a null reference ( Nothing in Visual Basic ) is returned.
The following example illustrates using one of the overload versions of the GetGlobalResourceObject method.
Show me
GetGlobalResourceObject Method Overload List HttpContext Members