.NET Framework Class Library
HostingEnvironment..::.VirtualPathProvider Property

Gets the virtual path provider for this application.

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

Visual Basic (Declaration)
Public Shared ReadOnly Property VirtualPathProvider As VirtualPathProvider
Visual Basic (Usage)
Dim value As VirtualPathProvider

value = HostingEnvironment.VirtualPathProvider
C#
public static VirtualPathProvider VirtualPathProvider { get; }
Visual C++
public:
static property VirtualPathProvider^ VirtualPathProvider {
    VirtualPathProvider^ get ();
}
JScript
public static function get VirtualPathProvider () : VirtualPathProvider

Property Value

Type: System.Web.Hosting..::.VirtualPathProvider
The VirtualPathProvider instance for this application.
Remarks

When more than one VirtualPathProvider instance is registered, the HostingEnvironment object manages the call chain. You cannot control the order in which virtual path providers are called.

Platforms

Windows 7, Windows Vista, Windows XP SP2, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP Starter Edition, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003, Windows Server 2000 SP4, Windows Millennium Edition, Windows 98

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.
Version Information

.NET Framework

Supported in: 3.5, 3.0, 2.0
See Also

Reference

Tags :


Page view tracker