## Stack::ToArray method


يحوّل المكدس إلى مصفوفة.

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


### ReturnValue

عنصر تم إنشاؤه حديثًا مع نسخ من جميع العناصر في المكدس.

## انظر أيضًا

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