ExtendedBindingListTFindIndex(Int32, PredicateT) Method
Search for the first item that matches the conditions defined by the specified predicate between the
starting index and the end of the collection and return its zero-based index.
Namespace: EWSoftware.PDI.BindingAssembly: EWSoftware.PDI.Data (in EWSoftware.PDI.Data.dll) Version: 2023.1.2.0
public int FindIndex(
int startIndex,
Predicate<T> match
)
Public Function FindIndex (
startIndex As Integer,
match As Predicate(Of T)
) As Integer
public:
int FindIndex(
int startIndex,
Predicate<T>^ match
)
member FindIndex :
startIndex : int *
match : Predicate<'T> -> int
- startIndex Int32
- The zero-based starting index for the search
- match PredicateT
- The PredicateT 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.