Freigeben über


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

Definition

Returns true if there's at least one element for which a given condition is true.

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

Parameters

match
Predicate<T>

Condition.

Returns

True if there's an element in collection for which predicate returns true.

Applies to