System::Collections::Generic::List::Exists méthode

List::Exists method

Vérifie si un élément répondant à un prédicat spécifique existe dans la liste.

bool System::Collections::Generic::List<T>::Exists(System::Predicate<T> match)
ParamètreTypeDescription
matchSystem::Predicate<T>Predicate pour vérifier les éléments avec.

ReturnValue

Vrai si l’élément correspondant est trouvé, faux sinon.

Voir aussi