Interlocked::Exchange Method (Single%, Single)
Sets a single-precision floating point number to a specified value and returns the original value, as an atomic operation.
Assembly: mscorlib (in mscorlib.dll)
The variable to set to the specified value.
The value to which the location1 parameter is set.
Return ValueType: System::Single
The original value of location1.
Available since 8
Available since 1.1
Portable Class Library
Supported in: portable .NET platforms
Windows Phone Silverlight
Available since 8.0
Available since 8.1