AvaloniaListTIndexOf Method
Gets the index of the specified item in the collection.
Namespace: Avalonia.CollectionsAssembly: Avalonia.Base (in Avalonia.Base.dll) Version: 11.3.999
public int IndexOf(
T item
)
Public Function IndexOf (
item As T
) As Integer
abstract IndexOf :
item : 'T -> int
override IndexOf :
item : 'T -> int
- item T
- The item.
Int32
The index of the item or -1 if the item is not contained in the collection.
IListTIndexOf(T)