ReadOnlyLinkedElementCollection<T>.Exists(Predicate<T>) 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.
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.