IConfigMapPath.MapPath Method (String, String)

 

This API supports the product infrastructure and is not intended to be used directly from your code.

Gets the physical directory path based on the site ID and URL associated with the site.

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

abstract MapPath : 
        siteID:string *
        path:string -> string

Parameters

siteID
Type: System.String

A unique identifier for the site.

path
Type: System.String

The URL associated with the site.

Return Value

Type: System.String

The physical directory path.

MapPath is introduced in the .NET Framework version 3.5. For more information, see .NET Framework Versions and Dependencies.

.NET Framework
Available since 2.0
Return to top
Show: