AvaloniaListTIndexOf Method

Gets the index of the specified item in the collection.

Definition

Namespace: Avalonia.Collections
Assembly: Avalonia.Base (in Avalonia.Base.dll) Version: 11.3.999
public int IndexOf(
	T item
)

Parameters

item  T
The item.

Return Value

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

Implements

IListTIndexOf(T)

See Also