Unsafe.Write<T>(Void*, T) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Writes a value of type T to the given location.
public:
generic <typename T>
static void Write(void* destination, T value);
public static void Write<T> (void* destination, T value);
static member Write : nativeptr<unit> * 'T -> unit
Type Parameters
- T
The type of value to write.
Parameters
- destination
- Void*
The location to write to.
- value
- T
The value to write.