IndexOf Method (ItemCollection<T>)
Gets the index of the specified item in collection.
'Declaration
Public Function IndexOf( _
ByVal As _
) As Integer
Parameters
- item
- The item to search in collcetion.
Return Value
The index of item if found, -1
otherwise.