[]
        
(Showing Draft Content)

C1.Android.Grid.GridRowColCollection-1.IndexOf

IndexOf Method

IndexOf(object)

Determines the index of a specific item in the System.Collections.IList.

Declaration
public int IndexOf(object value)
Parameters
Type Name Description
object value

The object to locate in the System.Collections.IList.

Returns
Type Description
int

The index of value if found in the list; otherwise, -1.

IndexOf(T)

Determines the index of a specific item in the System.Collections.Generic.IList<>.

Declaration
public int IndexOf(T item)
Parameters
Type Name Description
T item

The object to locate in the System.Collections.Generic.IList<>.

Returns
Type Description
int

The index of value if found in the list; otherwise, -1.