This document is provided on an "AS IS" basis without warranties of any kind. Smartsite iXperion class libraries may change in future releases.
Syntax
C# | Copy Code |
---|---|
public sealed class Hierarchy |
Visual Basic (Declaration) | Copy Code |
---|---|
Public NotInheritable Class Hierarchy |
The type exposes the following methods.
Public Methods
Name | Description | |
---|---|---|
AddItem |
Add an item under a given parent
(Inherited from Tree.) |
|
AddItem |
Add an item under a given parent
(Inherited from Tree.) |
|
ConvertToFolder |
Converts an item to a folder.
(Inherited from Tree.) |
|
ConvertToNormalItem |
Converts a folder to a normal item. Throws a TreeHierarchyException if the folder has children.
(Inherited from Tree.) |
|
ConvertToNormalItem |
Convert a folder to a normal item.
(Inherited from Tree.) |
|
Dispose |
Disposes this instance.
|
|
Equals | (Inherited from Object.) | |
Exists |
Returns true if the given item number exists.
(Overrides Tree..::Exists(Int32).) |
|
GetChildCount |
Returns the number of children of a node
(Inherited from Tree.) |
|
GetCommonParents |
Returns the common parent of an array of nodes
(Inherited from Tree.) |
|
GetHashCode | (Inherited from Object.) | |
GetHighestParents |
Returns an IntList of parents of the list of nodes
(Inherited from Tree.) |
|
GetItemByTitlePath |
Gets the item by title path.
|
|
GetLevel |
Returns the level of the given item number
(Overrides Tree..::GetLevel(Int32).) |
|
GetParent |
Reutrns the parent number of an item
(Overrides Tree..::GetParent(Int32).) |
|
GetSubTree |
Gets the subtree to which the item belongs.
|
|
GetSubTrees |
Gets the subtrees to which the item belongs.
|
|
GetType | (Inherited from Object.) | |
IsDescendantOf |
Checks if an item is a descendant of a given parent item.
(Overrides Tree..::IsDescendantOf(Int32, Int32).) |
|
IsFolder |
Tests if an item is a folder
(Overrides Tree..::IsFolder(Int32).) |
|
IsMemberOfAnySubTree |
Returns true if the item is a member of any of the given subtrees.
|
|
IsMemberOfSubTree |
Returns true if the item is a member of the given subtree.
|
|
MoveBranch |
Moves an item and all its children to a new parent
Throws an exception if either item is not found in the tree, if the newParent is not a folder or
if newParent is a descendant of itemNumber
(Inherited from Tree.) |
|
RemoveBranch |
Removes an item and all its children from the tree.
(Inherited from Tree.) |
|
RemoveBranch |
Removes an item and all its children from the tree.
(Inherited from Tree.) |
|
RemoveItem |
Remove a single item from the tree. Throws a TreeHierarchyException when the item has any children.
(Inherited from Tree.) |
|
RemoveItem |
Remove an item from the tree.
(Inherited from Tree.) |
|
SortByLevel |
Sort the list of nodes by their level
(Inherited from Tree.) |
|
ToArray |
Returns an array of tree items
(Inherited from Tree.) |
|
ToArray |
Returns an array of tree items
(Inherited from Tree.) |
|
ToIntList |
Returns an IntList containing the enumerated nodes.
(Inherited from Tree.) |
|
ToIntList |
Returns an IntList containing the enumerated nodes.
(Inherited from Tree.) |
|
ToString | (Inherited from Object.) | |
ToString |
Returns a string representation of this Tree (Inherited from Tree.) |
|
ToString |
Returns a string representation of this Tree (Inherited from Tree.) |
|
ToString |
Returns a string representation of this Tree (Inherited from Tree.) |
|
ToString |
Returns a string representation of this Tree (Inherited from Tree.) |
Protected Methods
Name | Description | |
---|---|---|
Finalize | (Inherited from Object.) | |
MemberwiseClone | (Inherited from Object.) |
See Also
Smartsite.Core Namespace