HttpWorkerRequest.MapPath Method (String)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Returns the physical path corresponding to the specified virtual path.

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

public virtual string MapPath(
	string virtualPath
)

Parameters

virtualPath
Type: System.String

The virtual path.

Return Value

Type: System.String

The physical path that corresponds to the virtual path specified in the virtualPath parameter.

.NET Framework
Available since 1.1
Return to top
Show: