Click or drag to resize
TreePathUtilsGetParentPath Method (String, Int32)
Returns the parent path for the specified path, with distance of parentLevel from the given path.

Namespace: CMS.DocumentEngine
Assembly: CMS.DocumentEngine (in CMS.DocumentEngine.dll) Version: 8.2.23
Syntax
C#
public static string GetParentPath(
	string path,
	int parentLevel
)

Parameters

path
Type: SystemString
Source path
parentLevel
Type: SystemInt32
Parent level (distance) from the given path

Return Value

Type: String
See Also