System::Collections::Generic::List::RemoveAll 方法

List::RemoveAll method

移除所有匹配特定谓词的元素。

int System::Collections::Generic::List<T>::RemoveAll(Predicate<T> match)
ParameterType描述
matchPredicate<T>Predicate 用于检查元素。

ReturnValue

已删除元素的数量。

另见