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

List::RemoveAll method

Tar bort alla element som matchar ett specifikt predikat.

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

ReturnValue

Antal borttagna element.

Se även