HttpResponseWrapper.ApplyAppPathModifier(String) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
若虛擬路徑使用 Cookieless 會話狀態,則會為虛擬路徑新增一個 ID,並回傳合併路徑。
public:
override System::String ^ ApplyAppPathModifier(System::String ^ virtualPath);
public override string ApplyAppPathModifier(string virtualPath);
override this.ApplyAppPathModifier : string -> string
Public Overrides Function ApplyAppPathModifier (virtualPath As String) As String
參數
- virtualPath
- String
資源的虛擬路徑。
傳回
插入會話 ID 的虛擬路徑。 若 Cookieless 未使用會話狀態,則回傳原始 virtualpath 值。