EyeshotCollection<T>.FindLastIndex (Int32, Int32, Predicate<T>) Method
Parameters
- startIndex
- int
The zero-based starting index of the backward search.
- count
- int
The number of elements in the section to 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 last 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. -or- count is less than 0. -or- startIndex and count do not specify a valid section in this collection. |