Click or drag to resize

InterlockedExchange Method

Overload List
 NameDescription
Public methodStatic memberExchange(Int32, Int32) Sets a 32-bit signed integer to a specified value and returns the original value, as an atomic operation.
Public methodStatic memberExchange(Object, Object) Sets an object to a specified value and returns a reference to the original object, as an atomic operation.
Public methodStatic memberExchangeT(T, T) Sets a variable of the specified type T to a specified value and and returns the original value, as an atomic operation.
Top
See Also