UserMapPath.MapPath(String, String) 方法

定义

返回基于站点 ID 和与站点关联的 URL 的物理路径。Returns the physical path based on the site ID and on the URL that is associated with the site.

public:
 virtual System::String ^ MapPath(System::String ^ siteID, System::String ^ path);
public string MapPath (string siteID, string path);
abstract member MapPath : string * string -> string
override this.MapPath : string * string -> string
Public Function MapPath (siteID As String, path As String) As String

参数

siteID
String

站点的唯一标识符。A unique identifier for the site.

path
String

与站点关联的 URL。The URL that is associated with the site.

返回

String

站点的物理路径。The physical path of the site.

实现

适用于