![]() |
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# |
![]() |
---|---|
public class Tree |
Visual Basic (Declaration) |
![]() |
---|---|
Public Class Tree |
The type exposes the following members.
Public Constructors
Name | Description | |
---|---|---|
![]() |
Tree | Overloaded. |
Public Methods
Name | Description | |
---|---|---|
![]() |
AddItem | Overloaded. |
![]() |
ConvertToFolder |
Converts an item to a folder.
|
![]() |
ConvertToNormalItem | Overloaded. |
![]() |
Equals | (Inherited from Object.) |
![]() |
Exists |
Returns true if the given itemnumber exists.
|
![]() |
GetChildCount |
Returns the number of children of a node
|
![]() |
GetCommonParents |
Returns the common parent of an array of nodes
|
![]() |
GetHashCode | (Inherited from Object.) |
![]() |
GetHighestParents |
Returns an IntList of parents of the list of nodes
|
![]() |
GetLevel |
Returns the level of the given item number
|
![]() |
GetParent |
Reutrns the parent number of an item
|
![]() |
GetType | (Inherited from Object.) |
![]() |
IsDescendantOf |
Checks if an item is a descendant of a given parent item.
|
![]() |
IsFolder |
Tests if an item is a folder
|
![]() |
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
|
![]() |
RemoveBranch | Overloaded. |
![]() |
RemoveItem | Overloaded. |
![]() |
SortByLevel |
Sort the list of nodes by their level
|
![]() |
ToArray | Overloaded. |
![]() |
ToIntList | Overloaded. |
![]() |
ToString | Overloaded. |
Protected Methods
Name | Description | |
---|---|---|
![]() |
Finalize | (Inherited from Object.) |
![]() |
MemberwiseClone | (Inherited from Object.) |
Public Fields
Name | Description | |
---|---|---|
![]() ![]() |
IllegalItemNumber |
Illegal item number
|
Public Properties
Name | Description | |
---|---|---|
![]() |
Count |
Gets the number of nodes
|
![]() |
RootNumber |
Gets the root number of the tree
|
See Also
Smartsite.Tools Namespace