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

List::RemoveAll method

Supprime tous les éléments correspondant à un prédicat spécifique.

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

ReturnValue

Nombre d’éléments supprimés.

Voir aussi