編輯

共用方式為


HttpRequestBase.AppRelativeCurrentExecutionFilePath Property

Definition

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").

public:
 virtual property System::String ^ AppRelativeCurrentExecutionFilePath { System::String ^ get(); };
public virtual string AppRelativeCurrentExecutionFilePath { get; }
member this.AppRelativeCurrentExecutionFilePath : string
Public Overridable ReadOnly Property AppRelativeCurrentExecutionFilePath As String

Property Value

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

Exceptions

Applies to