## List::RemoveAll method


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

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


| Parameter | Type | 描述 |
| --- | --- | --- |
| match | Predicate\<T\> | [Predicate](../../../system/predicate/) 用于检查元素。 |

### ReturnValue

已删除元素的数量。

## 另见

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