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: