Generic Tree Node base class
TreeNodeBase
00 Remarks
Type Parameters
| Name | Description |
|---|---|
T |
01 Syntax
Microsoft.VisualBasic.ComponentModel.DataStructures.Tree.TreeNodeBase`1
02 Methods
| Name | Overloads | Summary |
|---|---|---|
| .ctor | 1 | |
| GetLeafNodes | 1 | List of Leaf Nodes |
| GetNonLeafNodes | 1 | List of Non Leaf Nodes |
| GetRootNode | 1 | Get the Root Node of the Tree |
| AddChild | 1 | Add a Child Tree Node |
| AddChildren | 1 | Add a collection of child Tree Nodes |
| GenericEnumerator | 1 | enumerates all childs in current tree node |
| MaxTravelDepth | 1 | |
| ChildCountsTravel | 1 |
03 Properties
| Name | Overloads | Summary |
|---|---|---|
| Name | 1 | Name |
| Parent | 1 | Parent |
| ChildNodes | 1 | Children |
| MySelf | 1 | Me/this |
| IsLeaf | 1 | True if a Leaf Node |
| IsRoot | 1 | True if the Root of the Tree |
| FullyQualifiedName | 1 | Dot separated name from the Root to this Tree Node |
04 Members
#ctor(
String)Parameters
| Name | Type | Description |
|---|---|---|
name | String | - |
GetLeafNodes
List of Leaf Nodes
GetNonLeafNodes
List of Non Leaf Nodes
GetRootNode
Get the Root Node of the Tree
AddChild(
`0)Add a Child Tree Node
Remarks
- add child to TreeNodeBase.ChildNodes
Parameters
| Name | Type | Description |
|---|---|---|
child | `0 | - |
AddChildren(
IEnumerable(Of `0))Add a collection of child Tree Nodes
Parameters
| Name | Type | Description |
|---|---|---|
children | IEnumerable(Of `0) | - |
GenericEnumerator
enumerates all childs in current tree node
Name
Name
Parent
Parent
ChildNodes
Children
MySelf
Me/this
IsLeaf
True if a Leaf Node
IsRoot
True if the Root of the Tree
FullyQualifiedName
Dot separated name from the Root to this Tree Node
MaxTravelDepth()
ChildCountsTravel(
Dictionary(Of String, Double), Func(Of T, String))