Interlocked.Add Method (Int32%, Int32)
Adds two 32-bit integers and replaces the first integer with the sum, as an atomic operation.
Assembly: mscorlib (in mscorlib.dll)
- Type: System.Int32%
A variable that contains the first value to be added. The sum of the two values is stored in location1.
- Type: System.Int32
The value to be added to the integer at location1.
Return ValueType: System.Int32
The new value stored at location1.
For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.