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:
virtual String^ MapPath(
	String^ virtualPath
) override

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.

.NET Framework
Available since 3.5
Return to top
Show: