HostingEnvironment.MapPath(String) HostingEnvironment.MapPath(String) HostingEnvironment.MapPath(String) HostingEnvironment.MapPath(String) Method

定義

サーバー上の物理パスに仮想パスを割り当てます。Maps a virtual path to a physical path on the server.

public:
 static System::String ^ MapPath(System::String ^ virtualPath);
public static string MapPath (string virtualPath);
static member MapPath : string -> string
Public Shared Function MapPath (virtualPath As String) As String

パラメーター

virtualPath
String String String String

(絶対または相対) 仮想パス。The virtual path (absolute or relative).

戻り値

virtualPath で指定されたサーバー上の物理パス。The physical path on the server specified by virtualPath.

適用対象

こちらもご覧ください