語言

IConfigMapPath.GetAppPathForPath(String, String) 方法

定義

取得與特定網站相關的虛擬目錄名稱。

此 API 支援此產品基礎結構,但無法直接用於程式碼之中。

public:
 System::String ^ GetAppPathForPath(System::String ^ siteID, System::String ^ path);
public string GetAppPathForPath(string siteID, string path);
abstract member GetAppPathForPath : string * string -> string
Public Function GetAppPathForPath (siteID As String, path As String) As String

參數

siteID
String

網站的唯一識別碼。

path
String

與該網站相關的網址。

傳回

siteID 必須是唯一的。 沒有兩個網站共用相同的 ID。這些 siteID 網站區分了同名的網站。

備註

GetAppPathForPath 於 .NET Framework 3.5 版本中引入。 欲了解更多資訊,請參閱 版本與相依關係。

適用於