[]
Gets the index of the element.
public int IndexOf(T item)
Public Function IndexOf(item As T) As Integer
| Type | Name | Description |
|---|---|---|
| T | item | The element. |
| Type | Description |
|---|---|
| int | The zero-based index of element or -1 if element does not exist in the collection. |