7. Working with List Views and Tree Views : TreeNode and Tree Classes : Tree Class : Node Location Methods
 
Share this page                  
Node Location Methods
Use the following methods to find nodes in a tree:
NodeByName
Finds a node with a given name, or TextLabel
NodeByKey
Finds a mode with a given key. When you add a node to a tree, you may specify a unique key. The NodeByKey method is useful when the nodes in a tree do not have a unique name, and the NodeByName method does not find a unique node.