This documentation is archived and is not being maintained.
HttpContextWrapper::GetLocalResourceObject Method (String, String)
Visual Studio 2008
Gets a page-level resource object based on the specified VirtualPath and ResourceKey properties.
Assembly: System.Web.Abstractions (in System.Web.Abstractions.dll)
public: virtual Object^ GetLocalResourceObject( String^ virtualPath, String^ resourceKey ) override
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.
Return Value
Type: System::ObjectThe requested page-level resource object, or nullptr if no matching resource object is found.
Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003
The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Show: