ExtendedBindingList<T>.FindLastIndex(Int32, Int32, Predicate<T>) Method
Search for the last item that matches the conditions defined by the specified predicate between the
starting index and searching backwards for the given number of items and return its zero-based
index.
Namespace: EWSoftware.PDI.BindingAssembly: EWSoftware.PDI.Data (in EWSoftware.PDI.Data.dll) Version: 2025.1.9.0
public int FindLastIndex(
int startIndex,
int count,
Predicate<T> match
)
Public Function FindLastIndex (
startIndex As Integer,
count As Integer,
match As Predicate(Of T)
) As Integer
public:
int FindLastIndex(
int startIndex,
int count,
Predicate<T>^ match
)
member FindLastIndex :
startIndex : int *
count : int *
match : Predicate<'T> -> int
- startIndex Int32
- The zero-based starting index for the backwards search
- count Int32
- The number of items to search
- match Predicate<T>
- The Predicate<T> delegate that defines the conditions of the match
Int32Returns the zero-based index of the first occurrence of an item that matches the conditions
defined by the predicate or -1 if nothing is found.