Interlocked.Increment Method

Include Protected Members
Include Inherited Members

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Increments a specified variable and stores the result, as an atomic operation.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

Overload List

  Name Description
Increment(Int32%) Increments a specified 32-bit signed variable and stores the result, as an atomic operation.
Increment(Int64%) Increments a specified 64-bit signed integer variable and stores the result, as an atomic operation.

Top

See Also

Reference

Interlocked Class

Interlocked Members

System.Threading Namespace