Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

HttpRequestWrapper.AppRelativeCurrentExecutionFilePath Property

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 override string AppRelativeCurrentExecutionFilePath { get; }

Property Value

Type: System.String
The virtual path of the application root for the current request with the tilde operator added.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5 SP1
Show:
© 2015 Microsoft