IHierarchyId Interface Ingeniux CMS Content Store API

The object that stores hierarchy information on an entity.

Namespace: Ingeniux.CMS
Assembly: Ingeniux.CMS.CSAPI (in Ingeniux.CMS.CSAPI.dll) Version: 9.0.565.0 (9.0.565)
Syntax

public interface IHierarchyId

The IHierarchyId type exposes the following members.

Properties

  NameDescription
Public propertyCode exampleLevel
Gets the number of levels the hierarchy has
Public propertyCode exampleValue
Gets the value of hierary in string format.
Top
Methods

  NameDescription
Public methodAddChild
Adds a new child hierarchy. This will cause the next available child position to increment by one.
Public methodAncestors
Retrieves the collection of this hierarchy's ancestors
Public methodIsChildOf
Checks whether this hierarchy is child of another hierarchy.
Public methodIsDescendantOf
Checks whether this hierarchy descends from another hierarchy.
Public methodIsDescendantOrSelfOf
Checks whether this hierarchy is descends from another hierarchy or is the hierarychy itself.
Public methodMoveAncestor
Moves the hierarchy to be under another ancestor
Public methodNext
Retrieves the next sibling hierarchy available.
Public methodNextChild
Retrieves the next child hierarchy available
Public methodParent
Retrieves the parent hierarchy of this hierarchy.
Public methodSiblingPosition
Retrieves the position of this hierarchy to its siblings.
Top
See Also

Reference