IndexOfItem(T)
Searches for the specified object and returns the zero-based index of the first occurrence within the entire underlying collection.
Declaration
protected virtual int IndexOfItem(T item)
Parameters
Type | Name | Description |
---|---|---|
T | item | The object to locate in the AdvisableCollection<T>. The value can be |
Returns
Type | Description |
---|---|
int | The zero-based index of the first occurrence of item within the entire AdvisableCollection<T>, if found; otherwise, -1. |