HostingEnvironment.VirtualPathProvider Property


Gets the virtual path provider for this application.

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

public static VirtualPathProvider VirtualPathProvider { get; }

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.

.NET Framework
Available since 2.0
Return to top