ComponentOne Xamarin Edition
IndexOf<T> Method (IReadOnlyListEx)
C1.CollectionView Assembly > C1.CollectionView Namespace > IReadOnlyListEx Class : IndexOf<T> Method
The list.
The item to look for.
Gets the index of the specified item.
Syntax
[Extension()]
public static int IndexOf<T>( 
   IReadOnlyList<T> list,
   T item
)
where T: class

Parameters

list
The list.
item
The item to look for.

Type Parameters

T

Return Value

The index of the item.
See Also

Reference

IReadOnlyListEx Class
IReadOnlyListEx Members