NodeExists method: Tree class
Syntax
NodeExists(NodeName)
Description
The NodeExists method enables you to verify if the node specified by NodeName exists in the current tree.
Note:
If the node you're searching for is in an unexpanded portion of the tree, this method expands the tree down to that node.
Parameters
| Parameter | Description |
|---|---|
|
NodeName |
Specify the name of the node that you want to find. This parameter takes a string value. |
Returns
An integer: 0 if the node exists.