Compartilhar via


ReadOnlyLinkedElementCollection<T>.TrueForAll Method

Definition

Retursn true if a given condition is true for all elements in collection.

public:
 bool TrueForAll(Predicate<T> ^ match);
public bool TrueForAll (Predicate<T> match);
member this.TrueForAll : Predicate<'T (requires 'T :> Microsoft.VisualStudio.Modeling.ModelElement)> -> bool
Public Function TrueForAll (match As Predicate(Of T)) As Boolean

Parameters

match
Predicate<T>

Condition.

Returns

True if predicate returned true for all elements or if collection is empty.

Applies to