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

List::RemoveAll method

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

int System::Collections::Generic::List<T>::RemoveAll(Predicate<T> match)
参数类型描述
matchPredicate<T>用于检查元素的 Predicate

ReturnValue

已移除元素的数量。

另见