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