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


Incrementa el valor de forma atómica.

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


| Parámetro | Tipo | Descripción |
| --- | --- | --- |
| location1 | int32_t\& | Referencia de variable para incrementar. |
| valor | int32_t | Valor a añadir a **location1**. |

### ReturnValue

Valor de la variable justo después de haber sido incrementada.

## Ver también

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


Incrementa el valor de forma atómica.

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


| Parámetro | Tipo | Descripción |
| --- | --- | --- |
| location1 | int64_t\& | Referencia de variable para incrementar. |
| valor | int64_t | Valor a añadir a **location1**. |

### ReturnValue

Valor de la variable justo después de haber sido incrementada.

## Ver también

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