# Parallel for each

> `System.Activities.Statements.ParallelForEach<T>`

`System.Activities.Statements.ParallelForEach<T>`

## Description

Enumerates the elements of a collection and executes an embedded statement for each element of the collection in parallel.

## Project compatibility

**Windows - Legacy** | **Windows**

## Windows - Legacy, Windows configuration

Add the activities you want to execute simultaneously within the body of the ParallelForEach activity.

**Foreach `item` in Values**—The **For** loop that evaluates each **`item`** in the indicated **Values** collection.

### Properties
#### Common

* **DisplayName** : The display name of the activity.
  
#### Misc

* **Condition** : The expression that, when evaluated as `true`, determines the completion of the **Parallel** activity.
* **Private** : If selected, the values of variables and arguments are no longer logged at Verbose level.
* **TypeArgument** : The data type of the element in the collection.
* **Values** : The collection of values used as parameters for each iteration of the activities contained in the body. These values must match the data type indicated in the TypeArgument field.
