Decrement Method
Collapse the table of content
Expand the table of content

Interlocked.Decrement Method

[ 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.

  NameDescription
Public method Static member Decrement(Int32) Decrements a specified 32-bit signed integer variable and stores the result, as an atomic operation.
Public method Static member Decrement(Int64) Decrements the specified 64-bit signed integer variable and stores the result, as an atomic operation.
Top

Show:
© 2016 Microsoft