## List::ForEach method


Applies action to all elements in list.

```cpp
void System::Collections::Generic::List<T>::ForEach(System::Action<T> action)
```


| Parameter | Type | Description |
| --- | --- | --- |
| action | System::Action\<T\> | [Action](../../../system/action/) to apply. |

## See Also

* Typedef [Action](../../../system/action/)
* Class [List](../)
* Namespace [System::Collections::Generic](../../)
* Library [Aspose.PDF for C++](../../../)
