HttpRequestWrapper.CurrentExecutionFilePath 屬性

定義

取得目前要求的虛擬路徑。

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

屬性值

目前執行之網頁處理常式的虛擬路徑。

備註

屬性 CurrentExecutionFilePath 會傳回目前執行之頁面處理常式的檔案路徑。

當您使用 HttpServerUtility.Execute 方法或 HttpServerUtility.Transfer 方法重新導向要求時, CurrentExecutionFilePath 屬性會傳回您要重新導向至 (子頁面的路徑) 。

適用於