System.Web.Hosting.HostingEnvironment.ApplicationVirtualPath Property

Gets the root virtual path of the application.

Syntax

public static string ApplicationVirtualPath { get; }

Value

Documentation for this section has not yet been entered.

Remarks

The HostingEnvironment.ApplicationVirtualPath property always returns "/" as the first character of the returned value. If the application is located in the root of the website, the return value is just "/".

Requirements

Namespace: System.Web.Hosting
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 2.0.0.0
Since: .NET 2.0