SyntaxNodeCollection-1.IndexOf

SyntaxNodeCollection<T>.IndexOf method

Gets the index of the given item.

public int IndexOf(T item)
ParameterTypeDescription
itemTThe item to get the index of.

Return Value

The index of the item in the collection -or- -1 if the item is not found.

See Also