Unsafe.AsPointer(T) Unsafe.AsPointer(T) Unsafe.AsPointer(T) Method

Definition

Returns a pointer to the given by-ref parameter.

public:
generic <typename T>
 static void* AsPointer(T % value);
public static void* AsPointer<T> (ref T value);
static member AsPointer :  -> nativeptr<unit>

Type Parameters

T

The type of object.

Parameters

value
T T T

The object whose pointer is obtained.

Returns

Void*

A pointer to the given value.

Applies to