## List::RemoveAll method


Removes all elements matching specific predicate.

```cpp
int System::Collections::Generic::List<T>::RemoveAll(Predicate<T> match)
```


| Parameter | Type | Description |
| --- | --- | --- |
| match | Predicate\<T\> | [Predicate](../../../system/predicate/) to check elements with. |

### ReturnValue

Number of removed elements.

## See Also

* Typedef [Predicate](../../../system/predicate/)
* Class [List](../)
* Namespace [System::Collections::Generic](../../)
* Library [Aspose.PDF for C++](../../../)
