使用字符串String作为键名的树节点
Tree
00 Remarks
在这里如果直接继承Tree类型的话,会导致child的类型错误
Type Parameters
| Name | Description |
|---|---|
T | the value type of the |
01 Syntax
Microsoft.VisualBasic.Data.GraphTheory.Tree`1
02 Methods
| Name | Overloads | Summary |
|---|---|---|
| Add | 1 | add target child node into current childs collection and the assign the target child parent to current node. |
| PopulateAllNodes | 1 | |
| hasNode | 1 | |
| FindNode | 1 |
03 Properties
| Name | Overloads | Summary |
|---|---|---|
| Data | 1 |
04 Members
Add(Tree(Of `0))
add target child node into current childs collection and the assign the target child parent to current node.
Parameters
| Name | Type | Description |
|---|---|---|
child | Tree(Of `0) | - |
PopulateAllNodes
Returns
the first element is the tree root node
Data
hasNode(
String)FindNode(
String(), Int32)