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


Увеличивает значение атомарно.

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


| Параметр | Тип | Описание |
| --- | --- | --- |
| location1 | int32_t\& | Ссылка на переменную для увеличения. |
| value | int32_t | Значение для добавления к **location1**. |

### ReturnValue

Значение переменной сразу после её увеличения.

## См. также

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


Увеличивает значение атомарно.

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


| Параметр | Тип | Описание |
| --- | --- | --- |
| location1 | int64_t\& | Ссылка на переменную для увеличения. |
| value | int64_t | Значение для добавления к **location1**. |

### ReturnValue

Значение переменной сразу после её увеличения.

## См. также

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