System::Collections::Generic::List::Exists method

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 un élément correspondant est trouvé, sinon faux.

Voir aussi