Bridge

List<(Of <(<'T>)>)>..::..IndexOf Method (T)

Searches for the specified object and returns the zero-based index of the first occurrence within the entire List<(Of <(<'T>)>)>.

Namespace:  System.Collections.Generic
Assembly:  Bridge (in Bridge.dll)

Syntax


public int IndexOf(
	T item
)
Public Function IndexOf ( _
	item As T _
) As Integer
public:
int^ IndexOf(
	T item
)

Parameters

item
Type: T
The object to locate in the List<(Of <(<'T>)>)>. The value can be null for reference types.

Return Value

The zero-based index of the first occurrence of item within the entire List<(Of <(<'T>)>)>, if found; otherwise, –1.