Click to Rate and Give Feedback
MSDN
MSDN Library
.NET Development
.NET Framework 3.5
 VirtualPathProvider Property
This page is specific to
Microsoft Visual Studio 2008/.NET Framework 3.5

Other versions are also available for the following:
.NET Framework Class Library
HostingEnvironment..::.VirtualPathProvider Property

Updated: November 2007

Gets the virtual path provider for this application.

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

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 ();
}
J#
/** @property */
public static VirtualPathProvider get_VirtualPathProvider()
JScript
public static function get VirtualPathProvider () : VirtualPathProvider

Property Value

Type: System.Web.Hosting..::.VirtualPathProvider

The VirtualPathProvider instance for this application.

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.

Windows Vista, Windows XP SP2, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP Starter Edition, 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.

.NET Framework

Supported in: 3.5, 3.0, 2.0
Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
© 2008 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Page view tracker