AsPointer()

Unsafe::AsPointer(T&) method

Returns a pointer to the specified value.

template<typename T> static void * System::Runtime::CompilerServices::Unsafe::AsPointer(T &value)

Template parameters

ParameterDescription
TThe type of the value.

Arguments

ParameterTypeDescription
valueT&The value to obtain a pointer for.

Return Value

A pointer to the specified value.

See Also