company logo

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().

Return value:  proppath - Title unknown ( NString & )

Implementation overview

Implementation details

  1. Get complete property path
    const NString & PropertyHandle  :: GetHierarchyPath (  )

    The function returns the complete property path for the current property handle.

  2. to list
  3. 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
  4. to list