UserMapPath.MapPath Method (String, String)

.NET Framework (current version)
 

Returns the physical path based on the site ID and on the URL that is associated with the site.

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

public string MapPath(
	string siteID,
	string path
)

Parameters

siteID
Type: System.String

A unique identifier for the site.

path
Type: System.String

The URL that is associated with the site.

Return Value

Type: System.String

The physical path of the site.

.NET Framework
Available since 4.0
Return to top
Show: