[]
        
(Showing Draft Content)

C1.DataCollection.C1DataCollectionList-1.IndexOf

IndexOf Method

IndexOf(object?)

Determines the index of a specific item in the IList.

Declaration
public int IndexOf(object? value)
Public Function IndexOf(value As Object) As Integer
Parameters
Type Name Description
object value

The object to locate in the IList.

Returns
Type Description
int

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

Implements

IndexOf(T)

Determines the index of a specific item in the IList<T>.

Declaration
public int IndexOf(T item)
Public Function IndexOf(item As T) As Integer
Parameters
Type Name Description
T item

The object to locate in the IList<T>.

Returns
Type Description
int

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

Implements