IBinaryTreeNode.NodeIndex

Syntax

NodeIndex: Integer;

Description

The NodeIndex property returns node number in the tree.

Comments

Node numbering in the tree is continuous and starts with zero.

To get the root node of binary tree, use the IBinaryTreeNode.Parent property.

Example

The property use is given in the example for IBinaryTreeNode.Value.

See also:

IBinaryTreeNode