'Declaration
Public Overloads Function IndexOf( _ ByVal item As T, _ ByVal index As Integer _ ) As Integer
'Usage
Dim instance As ListBase(Of T) Dim item As T Dim index As Integer Dim value As Integer value = instance.IndexOf(item, index)
Parameters
- item
- The object to locate in the ListBase<T>.
- index
- The zero-based starting index of the search. 0 (zero) is valid in an empty list.
Return Value
The index of item if found in the list; otherwise, -1.