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

Increments a specified variable as an atomic operation.

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

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