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

Increments a specified variable as an atomic operation.

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

Parameters

location
The variable whose value is to be incremented.

Return Value

The incremented value.

See Also

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