IBinaryTreeNode.NodeIndex

Fore Syntax

NodeIndex: Integer;

Fore.NET 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.

Fore and Fore.NET Examples

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

See also:

IBinaryTreeNode