IndexOf Method
Return the index where the given item appears, or -1 if doesn't appear.
Definition
Namespace: Avalonia.Collections
Assembly: Avalonia.Controls.DataGrid (in Avalonia.Controls.DataGrid.dll)
- C#
- VB
- F#
public int IndexOf(
Object item
)
Public Function IndexOf (
item As Object
) As Integer
abstract IndexOf :
item : Object -> int
override IndexOf :
item : Object -> int
Parameters
- Object
- Item we are searching for
Return Value
Int32
Index of specified item