System::Collections::Generic::List::RemoveAll‑metod

List::RemoveAll method

Tar bort alla element som matchar ett specifikt villkor.

int System::Collections::Generic::List<T>::RemoveAll(Predicate<T> match)
ParameterTypeBeskrivning
matchPredicate<T>Predicate för att kontrollera element med.

ReturnValue

Antal borttagna element.

Se även