Interlocked.Decrement 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. ]

Decrements 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
Decrement(Int32%) Decrements a specified 32-bit signed integer variable and stores the result, as an atomic operation.
Decrement(Int64%) Decrements the 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