[]
Determines the index of a specific T
object in the ItemCollection<T>.
public int IndexOf(T item)
Type | Name | Description |
---|---|---|
T | item | A |
Type | Description |
---|---|
int | An int value indicating the index of the entry if it was found in the collection;
otherwise, |