EyeshotCollection<T>.FindIndex (Int32, Predicate<T>) Method
Parameters
- startIndex
- int
The zero-based starting index of the search.
- match
- Predicate<T>
The predicate delegate that defines the conditions of the element to search for.
Return Value
intThe zero-based index of the first occurrence of an element that matches the conditions defined by match, if found; otherwise, -1.
Exception type | Condition |
---|---|
match is null. |
|
startIndex is outside the range of valid indexes for this collection. |