## Memory::to_Memory method


Creates a [Memory](../) instance from the specified array.

```cpp
static Memory System::Memory<T>::to_Memory(const ArrayPtr<T> &array)
```


| Parameter | Type | Description |
| --- | --- | --- |
| array | const ArrayPtr\<T\>\& | The source array. |

### ReturnValue

A [Memory](../) object that wraps the array.

## See Also

* Class [Memory](../)
* Typedef [ArrayPtr](../../arrayptr/)
* Class [Memory](../)
* Namespace [System](../../)
* Library [Aspose.PDF for C++](../../../)
