TreePathUtilsGetParentPath Method (String, Int32) |
Returns the parent path for the specified path, with distance of parentLevel from the given path.
Namespace: CMS.DocumentEngineAssembly: CMS.DocumentEngine (in CMS.DocumentEngine.dll) Version: 11.0.0
Syntax 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:
StringSee Also