Export (0) Print
Expand All

UserMapPath.MapPath Method

.NET Framework 4.6 and 4.5

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.

Implements

IConfigMapPath.MapPath(String, String)

.NET Framework

Supported in: 4.6, 4.5, 4
Show:
© 2015 Microsoft