## 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.Page 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.Page for C++](../../../)
