Searches for the specified object among the elements of the view and returns the zero-based ordinal position of its first occurrence.

Namespace:  C1.LiveLinq.LiveViews
Assembly:  C1.LiveLinq (in C1.LiveLinq.dll)

Syntax

C#
public int IndexOf(
	T item
)
Visual Basic
Public Function IndexOf ( _
	item As T _
) As Integer

Parameters

item
Type: T
The object to locate in the view.

Return Value

The zero-based ordinal position of the first occurrence of item in the view, if found; otherwise, -1.

Implements

IList<(Of <(<'T>)>)>..::..IndexOf(T)

See Also