## Interlocked::Increment(int32_t\&) method


Increments value atomically.

```cpp
static int32_t System::Threading::Interlocked::Increment(int32_t &location)
```


| Parameter | Type | Description |
| --- | --- | --- |
| location | int32_t\& | Variable reference to increment. |

### ReturnValue

Value of variable right after it was incremented.

## See Also

* Class [Interlocked](../)
* Namespace [System::Threading](../../)
* Library [Aspose.PDF for C++](../../../)
## Interlocked::Increment(int64_t\&) method


Increments value atomically.

```cpp
static int64_t System::Threading::Interlocked::Increment(int64_t &location)
```


| Parameter | Type | Description |
| --- | --- | --- |
| location | int64_t\& | Variable reference to increment. |

### ReturnValue

Value of variable right after it was incremented.

## See Also

* Class [Interlocked](../)
* Namespace [System::Threading](../../)
* Library [Aspose.PDF for C++](../../../)
