Skip to content

Children<TNode>.IndexOf Method

Definition

Gets the index of the specified node in this collection.

public int IndexOf(TNode node);

View source

Parameters

Name Type Description
node TNode The node to search for.

Returns

Int32

The index of the node or -1 if it is not in the collection.