【お知らせ】この部分は英語原文のみでの提供となります。何卒ご了承ください。
2.2.4.44 TreeNodeCollection
Name
TreeNodeCollection
Remark
Hierarchy
- Collection
- TreeNodeCollection
Examples
EX1
void TreeNodeCollection_ex1() { Tree tree; if(tree) { tree.AddNode(); tree.AddNumericNode(1); tree.AddNumericNode(2); tree.AddNumericNode(3, "I333"); tree.AddNumericNode(4); TreeNodeCollection tnc(tree, "int"); foreach(TreeNode tn in tnc) { string str = tn.tagName; out_str(str); } } }
Header to Include
origin.h
Reference
Members
| Name | Brief | Example |
|---|---|---|
| TreeNodeCollection | To get a collection of tree nodes from parent tree node by enumerative name prefix. | Examples |