nuget server logo nuget api documents
↑

API Docs / Microsoft.VisualBasic.Data.GraphTheory / Tree

Tree

Full name Microsoft.VisualBasic.Data.GraphTheory.Tree`1 Assembly Microsoft.VisualBasic.Data.GraphTheory Members 2

使用字符串String作为键名的树节点

00 Remarks

在这里如果直接继承Tree类型的话,会导致child的类型错误

Type Parameters
NameDescription
T

the value type of the Data property

01 Syntax

Microsoft.VisualBasic.Data.GraphTheory.Tree`1

02 Methods

NameOverloadsSummary
Add 1 add target child node into current childs collection and the assign the target child parent to current node.
PopulateAllNodes 1

03 Members

method Add #

add target child node into current childs collection and the assign the target child parent to current node.

Parameters
NameTypeDescription
childTree(Of `0)

-

method PopulateAllNodes #
PopulateAllNodes
Returns

the first element is the tree root node