[]
Gets the index in the collection of the specified T, if it exists in the collection.
public int IndexOf(T value)
Public Function IndexOf(value As T) As Integer
| Type | Name | Description |
|---|---|---|
| T | value | The |
| Type | Description |
|---|---|
| int | The index in the collection of the specified object, if found; otherwise, -1. |