EyeshotCollection<T>.Exists Method

Determines whether this collection contains elements that match the conditions defined by the specified predicate.
Public Function Exists( _ 
ByVal match As Predicate(Of T) _ 
) As Boolean
This language is not supported or no code example is available.
public bool Exists( 
Predicate<T> match 
)
This language is not supported or no code example is available.

Parameters

match
Predicate<T>

The predicate delegate that defines the conditions of the elements to search for.

Return Value

bool

True if this collection contains one or more elements that match the conditions defined by the specified predicate; otherwise, False />.

Exception type Condition

ArgumentNullException

match is null.

.NET Framework

Supported in: 4.5, 4.6, 4.7

In this article

Definition