ISDBTree::NextSiblingNode
From MediaMonkey Wiki
CoClass SDBTree, Interface ISDBTree
Property Get NextSiblingNode(Node As SDBTreeNode) As SDBTreeNode
Parameters
| Name | Type | Description |
|---|---|---|
| Node | SDBTreeNode |
Property description
Returns the next node on the same tree level. Returns Nothing if Node is the last one at that hierarchy level.
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