## Stack::ToArray method


Konverterar stacken till en array.

```cpp
virtual ArrayPtr<T> System::Collections::Generic::Stack<T>::ToArray()
```


### ReturnValue

Nyskapat element med kopior av alla element i stacken.

## Se även

* Typedef [ArrayPtr](../../../system/arrayptr/)
* Class [Stack](../)
* Namespace [System::Collections::Generic](../../)
* Library [Aspose.PDF for C++](../../../)
