HttpRequestBase.MapPath Method (String)

 

When overridden in a derived class, maps the specified virtual path to a physical path on the server.

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

public virtual string MapPath(
	string virtualPath
)

Parameters

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.

Exception Condition
NotImplementedException

Always.

.NET Framework
Available since 3.5
Return to top
Show: