編輯

共用方式為


HttpWorkerRequest.MapPath(String) Method

Definition

Returns the physical path corresponding to the specified virtual path.

public:
 virtual System::String ^ MapPath(System::String ^ virtualPath);
public virtual string MapPath (string virtualPath);
abstract member MapPath : string -> string
override this.MapPath : string -> string
Public Overridable Function MapPath (virtualPath As String) As String

Parameters

virtualPath
String

The virtual path.

Returns

The physical path that corresponds to the virtual path specified in the virtualPath parameter.

Applies to