Sets an Object variable to a specified value as an atomic operation and returns the original value.
[Visual Basic] Overloads Public Shared Function Exchange( _ ByRef location1 As Object, _ ByVal value As Object _ ) As Object [C#] public static object Exchange( ref object location1, object value ); [C++] public: static Object* Exchange( Object** location1, Object* value ); [JScript] public static function Exchange( location1 : Object, value : Object ) : Object;
The original (unset) value of the location1 variable.
To be supplied.
Interlocked Class | Interlocked Members | System.Threading Namespace | Interlocked.Exchange Overload List