Volatile.Write Method (UIntPtr, UIntPtr)
Writes the specified value to the specified field. On systems that require it, inserts a memory barrier that prevents the processor from reordering memory operations as follows: If a read or write appears before this method in the code, the processor cannot move it after this method.
This API is not CLS-compliant.
Assembly: mscorlib (in mscorlib.dll)
[CLSCompliantAttribute(false)] public static void Write( ref UIntPtr location, UIntPtr value )
Available since 8
Available since 4.5
Portable Class Library
Supported in: portable .NET platforms
Windows Phone Silverlight
Available since 8.0
Available since 8.1