Skip to main content

TdxOcNode.IndexOf(TdxOcNode) Method

Returns the index of the specified child node.

Declaration

function IndexOf(Value: TdxOcNode): Integer;

Parameters

Name Type
Value TdxOcNode

Returns

Type
Integer

Remarks

Call this function to obtain the node’s index passed as the Value parameter. If this node is the current node’s child, the IndexOf function returns its index; otherwise — -1.

See Also