[]
        
(Showing Draft Content)

C1.DataCollection.IDataCollectionEx.IndexOf

IndexOf Method

IndexOf<T>(IDataCollection<T>, T)

Gets the index of the specified item.

Declaration
public static int IndexOf<T>(this IDataCollection<T> dataCollection, T item) where T : class?
Parameters
Type Name Description
IDataCollection<T> dataCollection

The data collection.

T item

The item that will be searched.

Returns
Type Description
int
Type Parameters
Name Description
T