RemoveAll()

List::RemoveAll(Predicate<T>) method

Removes all elements matching specific predicate.

int System::Collections::Generic::List<T>::RemoveAll(Predicate<T> match)

Arguments

ParameterTypeDescription
matchPredicate<T>Predicate to check elements with.

Return Value

Number of removed elements.

See Also