## List::RemoveAll method


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

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


| 参数 | 类型 | 描述 |
| --- | --- | --- |
| match | Predicate\<T\> | 用于检查元素的 [Predicate](../../../system/predicate/)。 |

### ReturnValue

已移除元素的数量。

## 另见

* Typedef [Predicate](../../../system/predicate/)
* Class [List](../)
* Namespace [System::Collections::Generic](../../)
* Library [Aspose.Font for C++](../../../)
