HttpRequestWrapper.MapPath Method (String)


Maps the specified virtual path to a physical path on the server.

Namespace:   System.Web
Assembly:  System.Web (in System.Web.dll)

public override string MapPath(
	string virtualPath


Type: System.String

The virtual path (absolute or relative) to map to a physical path.

Return Value

Type: System.String

The physical path on the server that is specified by virtualPath.

.NET Framework
Available since 3.5
Return to top