Extended Binding ListTFind Last Index(Int 32, PredicateT) Method
Search for the last item that matches the conditions defined by the specified predicate between the
starting index and searching backwards to the start of the collection and return its zero-based
index.
Definition
Namespace: EWSoftware.PDI.Binding
Assembly: EWSoftware.PDI.Data (in EWSoftware.PDI.Data.dll) Version: 2025.1.9.0
Returns the zero-based index of the last occurrence of an item that matches the conditions defined by the predicate or -1 if nothing is found.
Assembly: EWSoftware.PDI.Data (in EWSoftware.PDI.Data.dll) Version: 2025.1.9.0
C#
public int FindLastIndex(
int startIndex,
Predicate<T> match
)VB
Public Function FindLastIndex (
startIndex As Integer,
match As Predicate(Of T)
) As IntegerC++
public:
int FindLastIndex(
int startIndex,
Predicate<T>^ match
)F#
member FindLastIndex :
startIndex : int *
match : Predicate<'T> -> int Parameters
- startIndex Int32
- The zero-based starting index for the backwards search
- match PredicateT
- The PredicateT delegate that defines the conditions of the match
Return Value
Int32Returns the zero-based index of the last occurrence of an item that matches the conditions defined by the predicate or -1 if nothing is found.