HttpRequestBase.AppRelativeCurrentExecutionFilePath Property


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

When overridden in a derived class, gets the virtual path of the application root and makes it relative by using the tilde (~) notation for the application root (as in "~/page.aspx").

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

public virtual string AppRelativeCurrentExecutionFilePath { get; }

Property Value

Type: System.String

The virtual path of the application root for the current request with the tilde operator (~) added.

Exception Condition


.NET Framework
Available since 3.5
Return to top