HttpServerUtilityWrapper.MapPath(String) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
回傳與網頁伺服器上指定的虛擬路徑對應的實體檔案路徑。
public:
override System::String ^ MapPath(System::String ^ path);
public override string MapPath(string path);
override this.MapPath : string -> string
Public Overrides Function MapPath (path As String) As String
參數
- path
- String
虛擬路徑是為了取得實體路徑。
傳回
對應於的 path實體檔案路徑。
例外狀況
目前 HttpContext 的物件為 null。