System::Memory::to_Memory method

Memory::to_Memory method

Creates a Memory instance from the specified array.

static Memory System::Memory<T>::to_Memory(const ArrayPtr<T> &array)
ParameterTypeDescription
arrayconst ArrayPtr<T>&The source array.

ReturnValue

A Memory object that wraps the array.

See Also