System::Runtime::CompilerServices::Unsafe::AsPointer method

Unsafe::AsPointer method

Returns a pointer to the specified value.

template<typename T> static void * System::Runtime::CompilerServices::Unsafe::AsPointer(T &value)
ParameterDescription
TThe type of the value.
ParameterTypeDescription
valueT&The value to obtain a pointer for.

ReturnValue

A pointer to the specified value.

See Also