Click or drag to resize
WebPathMapperBaseMapPath Method
Returns the full physical file path from the relativePath.

For the application residing in C:\\folder\\appFolder and "~/AppData" relativePath parameter, the result will be C:\\folder\\appFolder\\AppData.

Namespace: CMS.Base.Internal
Assembly: CMS.Base (in CMS.Base.dll) Version: 13.0.131
Syntax
C#
public string MapPath(
	string relativePath
)

Parameters

relativePath
Type: SystemString
Relative path to be resolved.

Return Value

Type: String
The physical file path that corresponds to relativePath.

Implements

IWebPathMapperMapPath(String)
Exceptions
ExceptionCondition
ArgumentExceptionThrown when relativePath does not specify a relative path.
ArgumentNullExceptionThrown when relativePath is null.
See Also