[This is preliminary documentation and is subject to change.]

Determines the index of a specific item in the ListWithEvents<(Of <(<'T>)>)>.

Namespace: Tools.CollectionsT.GenericT
Assembly: Tools (in Tools.dll) Version: 1.5.3.38916 (1.5.3.38916)

Syntax

C#
public virtual int IndexOf(
	T item
)
Visual Basic
Public Overridable Function IndexOf ( _
	item As T _
) As Integer
Visual C++
public:
virtual int IndexOf(
	T item
)
F#
abstract IndexOf : 
        item:'T -> int 
override IndexOf : 
        item:'T -> int 
JScript
public function IndexOf(
	item : T
) : int

Parameters

item
Type: T
The object to locate in the ListWithEvents<(Of <(<'T>)>)>.

Return Value

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

Implements

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

See Also