NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

Interlocked.Decrement (Int64)

Decrements a specified variable as an atomic operation.

[Visual Basic]
Overloads Public Shared Function Decrement( _
   ByRef location As Long _
) As Long
[C#]
public static long Decrement(
   ref long location
);
[C++]
public: static __int64 Decrement(
   __int64** location
);
[JScript]
public static function Decrement(
   location : long
) : long;

Parameters

location
The variable whose value is to be decremented.

Return Value

The decremented value.

See Also

Interlocked Class | Interlocked Members | System.Threading Namespace | Interlocked.Decrement Overload List