VTime Zone CollectionFind Index(Int 32, Int 32, PredicateVTime Zone) Method
Search for the first item that matches the conditions defined by the specified predicate between the
starting index and the given number of items and return its zero-based index.
Definition
Namespace: EWSoftware.PDI.Objects
Assembly: EWSoftware.PDI.Data (in EWSoftware.PDI.Data.dll) Version: 2025.1.9.0
Returns 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.
Assembly: EWSoftware.PDI.Data (in EWSoftware.PDI.Data.dll) Version: 2025.1.9.0
C#
public int FindIndex(
int startIndex,
int count,
Predicate<VTimeZone> match
)VB
Public Function FindIndex (
startIndex As Integer,
count As Integer,
match As Predicate(Of VTimeZone)
) As IntegerC++
public:
int FindIndex(
int startIndex,
int count,
Predicate<VTimeZone^>^ match
)F#
member FindIndex :
startIndex : int *
count : int *
match : Predicate<VTimeZone> -> int Parameters
- startIndex Int32
- The zero-based starting index for the search
- count Int32
- The number of items to search
- match PredicateVTimeZone
- The PredicateT delegate that defines the conditions of the match
Return Value
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.