Freigeben über


ReadOnlyLinkedElementCollection<T>.FindAll(Predicate<T>) Method

Definition

Finds all elements which satisfy a given condition.

public:
 System::Collections::Generic::List<T> ^ FindAll(Predicate<T> ^ match);
public System.Collections.Generic.List<T> FindAll (Predicate<T> match);
member this.FindAll : Predicate<'T (requires 'T :> Microsoft.VisualStudio.Modeling.ModelElement)> -> System.Collections.Generic.List<'T (requires 'T :> Microsoft.VisualStudio.Modeling.ModelElement)>
Public Function FindAll (match As Predicate(Of T)) As List(Of T)

Parameters

match
Predicate<T>

Condition.

Returns

List<T>

List of elements for which predicate returns true.

Applies to