Click or drag to resize

IHierarchy Methods

The IHierarchy type exposes the following members.

Methods
  NameDescription
Public methodChangeCodeAndName
Changes the code and the name of the specified node.
Public methodChangeParent
Changes the parent of the specified node.
Public methodGetDirectSubNodes
Gets the direct sub-nodes of the specified node. To get root nodes, pass null for node.
Public methodGetParentNode
Gets the direct parent node of the specified node.
Public methodGetTreeLevel
Gets the level of deepness of the node within the tree, with the root nodes having a level of 1.
Public methodHasSubNodes
Determines whether the specified node has sub nodes.
Public methodIsSubNodeOf
Determines whether a node is a direct or indirect sub-node of a parent node.
Public methodPreloadHierarchy
Preloads all hierarchy nodes and allows fast hierarchy operations.
Public methodTraverseAllSubNodes
Traverses and returns the specified node itself and all of its sub nodes, both direct and indirect.
Top
Extension Methods
  NameDescription
Public Extension MethodGetRootNodes
Gets the root nodes of the hierarchy.
(Defined by IHierarchyExtensions.)
Top
See Also