TreePathUtilsGetParentPathRestricted Method |
Returns the parent path for the specified path (any kind of path with "/" as a separator) with restriction on depth of the path
Namespace: CMS.DocumentEngineAssembly: CMS.DocumentEngine (in CMS.DocumentEngine.dll) Version: 8.2.23
Syntax public static string GetParentPathRestricted(
string path,
int maximalLevel
)
Parameters
- path
- Type: SystemString
Original path - maximalLevel
- Type: SystemInt32
Restricts returned path to specified maximal number of parent levels
Return Value
Type:
StringSee Also