## List::ToArray method


Converst list to array.

```cpp
ArrayPtr<T> System::Collections::Generic::List<T>::ToArray() const
```


### ReturnValue

Newly created array with copies of all elements.

## See Also

* Typedef [ArrayPtr](../../../system/arrayptr/)
* Class [List](../)
* Namespace [System::Collections::Generic](../../)
* Library [Aspose.PDF for C++](../../../)
