InterlockedDecrement Method |
Decrements a specified variable and stores the result, as an atomic operation.
Namespace: Crestron.SimplSharpAssembly: SimplSharpHelperInterface (in SimplSharpHelperInterface.dll) Version: 2.21.121
Syntaxpublic static int Decrement(
ref int location
)
Parameters
- location Int32
- The variable whose value is to be decremented.
Return Value
Int32The decremented value.
ExceptionsVersion Information
.NET
Supported in: 6.0
.NET Compact Framework
Supported in: 3.5
See Also