Click or drag to resize

CommonGetPathFromRoot Method

Retrieves an absolute path to the resource.

Namespace:  Dynamicweb.News.Frontend
Assembly:  Dynamicweb.News (in Dynamicweb.News.dll) Version: 1.0.10
Syntax
public static string GetPathFromRoot(
	string path,
	string baseFolder
)

Parameters

path
Type: SystemString
Path to resolve.
baseFolder
Type: SystemString
Path to the base folder (in case of "../" references).

Return Value

Type: String
An absolute path to the resource.
See Also