HttpRequestBase.AppRelativeCurrentExecutionFilePath 属性
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
在派生类中重写时,获取应用程序根的虚拟路径,并使用应用程序根的波形符(~)表示法(如“~/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
属性值
添加了波形符运算符(~)的当前请求的应用程序根目录的虚拟路径。