System::Collections::Generic::List::RemoveAll method

List::RemoveAll method

Removes all elements matching specific predicate.

int System::Collections::Generic::List<T>::RemoveAll(Predicate<T> match)
ParameterTypeDescription
matchPredicate<T>Predicate to check elements with.

ReturnValue

Number of removed elements.

See Also