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


Incrementa il valore in modo atomico.

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


| Parametro | Tipo | Descrizione |
| --- | --- | --- |
| location1 | int32_t\& | Riferimento variabile da incrementare. |
| value | int32_t | Valore da aggiungere a **location1**. |

### ReturnValue

Valore della variabile subito dopo che è stata incrementata.

## Vedi anche

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


Incrementa il valore in modo atomico.

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


| Parametro | Tipo | Descrizione |
| --- | --- | --- |
| location1 | int64_t\& | Riferimento variabile da incrementare. |
| value | int64_t | Valore da aggiungere a **location1**. |

### ReturnValue

Valore della variabile subito dopo che è stata incrementata.

## Vedi anche

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