ReadOnlyLinkedElementCollection<T>.FindIndex(Predicate<T>) Methode
Definition
Sucht das erste Element, das eine angegebene Bedingung erfüllt.Finds first element which satisfies a given condition.
public:
int FindIndex(Predicate<T> ^ match);
public int FindIndex (Predicate<T> match);
member this.FindIndex : Predicate<'T (requires 'T :> Microsoft.VisualStudio.Modeling.ModelElement)> -> int
Public Function FindIndex (match As Predicate(Of T)) As Integer
Parameter
- match
- Predicate<T>
Anlage.Condition.
Gibt zurück
Erstes Element in der Liste, für das das Prädikat true zurückgibt, oder NULL, wenn keine gefunden wurde.First element in the list for which the predicate returns true or null if none found.