HttpServerUtilityBase.MapPath Method (String)

 

When overridden in a derived class, returns the physical file path that corresponds to the specified virtual path on the Web server.

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

public virtual string MapPath(
	string path
)

Parameters

path
Type: System.String

The virtual path to get the physical path for.

Return Value

Type: System.String

The physical file path that corresponds to path.

Exception Condition
NotImplementedException

Always.

.NET Framework
Available since 3.5
Return to top
Show: