## Interlocked::ExchangeAdd(int32_t\&, int32_t) method


Verhoogt de waarde atomisch via een exchange‑add‑procedure.

```cpp
static int32_t System::Threading::Interlocked::ExchangeAdd(int32_t &location1, int32_t value)
```


| Parameter | Type | Beschrijving |
| --- | --- | --- |
| location1 | int32_t\& | Variabele referentie om te verhogen. |
| value | int32_t | Waarde om toe te voegen aan **location1**. |

### ReturnValue

Waarde van de variabele direct nadat deze is verhoogd.

## Zie ook

* Class [Interlocked](../)
* Namespace [System::Threading](../../)
* Library [Aspose.Page for C++](../../../)
## Interlocked::ExchangeAdd(int64_t\&, int64_t) method


Verhoogt de waarde atomisch via een exchange‑add‑procedure.

```cpp
static int64_t System::Threading::Interlocked::ExchangeAdd(int64_t &location1, int64_t value)
```


| Parameter | Type | Beschrijving |
| --- | --- | --- |
| location1 | int64_t\& | Variabele referentie om te verhogen. |
| value | int64_t | Waarde om toe te voegen aan **location1**. |

### ReturnValue

Waarde van de variabele direct nadat deze is verhoogd.

## Zie ook

* Class [Interlocked](../)
* Namespace [System::Threading](../../)
* Library [Aspose.Page for C++](../../../)
