ApplicationInfo.VirtualPath Property

 

Gets the virtual path corresponding to the application's root.

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

public string VirtualPath { get; }

Property Value

Type: System.String

The virtual path corresponding to the application's root.

The VirtualPath property is the virtual path that was passed to the CreateObject method when the application was created.

.NET Framework
Available since 2.0
Return to top
Show: