## List::ForEach method


Tillämpar åtgärd på alla element i listan.

```cpp
void System::Collections::Generic::List<T>::ForEach(System::Action<T> action)
```


| Parameter | Typ | Beskrivning |
| --- | --- | --- |
| action | System::Action\<T\> | [Action](../../../system/action/) att tillämpa. |

## Se även

* Typedef [Action](../../../system/action/)
* Class [List](../)
* Namespace [System::Collections::Generic](../../)
* Library [Aspose.PDF for C++](../../../)
