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