Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

HttpContextBase.GetLocalResourceObject Method (String, String, CultureInfo)

When overridden in a derived class, gets a page-level resource object based on the specified VirtualPath and ResourceKey properties, and on the CultureInfo object.

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

public virtual Object GetLocalResourceObject(
	string virtualPath,
	string resourceKey,
	CultureInfo culture
)

Parameters

virtualPath
Type: System.String

A string that represents the VirtualPath property of the local resource object.

resourceKey
Type: System.String

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

culture
Type: System.Globalization.CultureInfo

A string that represents the CultureInfo object of the requested resource object.

Return Value

Type: System.Object
The requested local resource object, which is localized for the specified culture, or null if no matching resource object is found.

ExceptionCondition
NotImplementedException

Always.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5 SP1
Show:
© 2015 Microsoft