使用字符串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 |
03 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