PropertyHandle :: GetHierarchyPath - Get Accesspath for property handle hierarchy
The function returns an access path for the property hierarchy according to the current selection. The path starts with the top property handle and ends with the current property handle. The path returned can be used with PropertyHandle :: Open () to relocate an instance selected in a property handle hierarchy.
In order to retrieve the current property path without selection information call GetPropertyPath ().
Implementation overview
- Get complete property path
PropertyHandle :: GetHierarchyPath (  ) - Get hierarchy path to upper property
PropertyHandle :: GetHierarchyPath ( ph )
Implementation details
-
Get complete property path
const NString & PropertyHandle  :: GetHierarchyPath (  )
The function returns the complete property path for the current property handle.
to list
-
Get hierarchy path to upper property
const NString & PropertyHandle  :: GetHierarchyPath ( PropertyHandle &ph )
The function returns the path between the current property handle and the passed property handle. The current property handle must be a sub handle of the upper handle passed to the function. When an invalid property handle is passed as upper handle, the function returns NULL.
The path returned can be used to reopen the current
- ph - Reference to property handle
to list