![](../icons/Hazelcast-IMDG-Logo-Orange_Dark_200px.jpg) | IAtomicLongGetAndAdd Method |
Atomically adds the given value to the current value.
Namespace:
Hazelcast.Core
Assembly:
Hazelcast.Net (in Hazelcast.Net.dll) Version: 3.9.4
Syntaxlong GetAndAdd(
long delta
)
Function GetAndAdd (
delta As Long
) As Long
long long GetAndAdd(
long long delta
)
abstract GetAndAdd :
delta : int64 -> int64
Parameters
- delta
- Type: SystemInt64
the value to add
Return Value
Type:
Int64the old value before the add
RemarksAtomically adds the given value to the current value.
See Also