Unsafe.Write<T>(Void*, T) Method

Definition

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.

Applies to