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

属性值

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

例外

适用于