ReadOnlyLinkedElementCollection<T>.TrueForAll Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.