[]
Searches for the specified object and returns the index of the first occurrence within the entire list.
public virtual int IndexOf(object value)
| Type | Name | Description |
|---|---|---|
| object | value | The object to index. |
| Type | Description |
|---|---|
| int | The index of value if found in the list; otherwise, -1. |