Gets the index of an item in the list.
'Declaration
Public Overloads Overrides Function IndexOf( _
ByVal As String _
) As Integer
public override int IndexOf(
string
)
Parameters
- name
- Name of the item to search.
Return Value
The index of the item in the list, or -1 if the item could not be found.