ImmutableList<T>.Builder.Exists(Predicate<T>) Méthode

Définition

Détermine si la liste immuable contient des éléments qui correspondent aux conditions définies par le prédicat spécifié.

public:
 virtual bool Exists(Predicate<T> ^ match);
public:
 bool Exists(Predicate<T> ^ match);
public bool Exists (Predicate<T> match);
abstract member Exists : Predicate<'T> -> bool
override this.Exists : Predicate<'T> -> bool
member this.Exists : Predicate<'T> -> bool
Public Function Exists (match As Predicate(Of T)) As Boolean

Paramètres

match
Predicate<T>

Délégué qui définit les conditions des éléments à rechercher.

Retours

true si la liste immuable contient un ou plusieurs éléments qui correspondent aux conditions définies par le prédicat spécifié ; sinon, false.

S’applique à