ISDBTree::NextSiblingNode
From MMWiki
CoClass SDBTree, Interface ISDBTree
Property Get NextSiblingNode(Node As SDBTreeNode) As SDBTreeNode
[edit]
Parameters
| Name | Type | Description |
|---|---|---|
| Node | SDBTreeNode |
[edit]
Property description
Returns the next node on the same tree level. Returns Nothing if Node is the last one at that hierarchy level.
[edit]
Example Code
This example code can be used to do an operation on every node under a master node.
If (MasterNode.HasChildren) Then Dim ChildNode Set ChildNode = Tree.FirstChildNode(MasterNode) While Not (ChildNode Is Nothing) ' Do things with ChildNode Set ChildNode = Tree.NextSiblingNode(ChildNode) Wend End If
