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 (Int32)

Decrements a specified variable as an atomic operation.

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

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