System.Web.Hosting.HostingEnvironment.MapPath Method

Maps a virtual path to a physical path on the server.

Syntax

public static string MapPath (string virtualPath)

Parameters

virtualPath
The virtual path (absolute or relative).

Returns

The physical path on the server specified by virtualPath.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: System.Web.Hosting
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 2.0.0.0
Since: .NET 2.0