HttpRequestBase.AppRelativeCurrentExecutionFilePath 属性

定义

在派生类中替代时,获取应用程序根目录的虚拟路径,并通过对应用程序根目录使用波形符 (~) 表示法(例如,以“~/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

属性值

String

当前请求的应用程序根目录的虚拟路径(添加了波形符运算符 (~))。

例外

适用于