## List::CopyTo(const System::ArrayPtr\<T\>\&) method


ينسخ جميع العناصر إلى عناصر مصفوفة موجودة.

```cpp
void System::Collections::Generic::List<T>::CopyTo(const System::ArrayPtr<T> &array)
```


| معامل | نوع | الوصف |
| --- | --- | --- |
| array | const System::ArrayPtr\<T\>\& | [Array](../../../system/array/) لنسخ العناصر إليه. |

## انظر أيضًا

* Typedef [ArrayPtr](../../../system/arrayptr/)
* Class [List](../)
* Namespace [System::Collections::Generic](../../)
* Library [Aspose.Font for C++](../../../)
## List::CopyTo(int, const System::ArrayPtr\<T\>\&, int, int) method


ينسخ العناصر بدءًا من الفهرس المحدد إلى عناصر مصفوفة موجودة.

```cpp
void System::Collections::Generic::List<T>::CopyTo(int index, const System::ArrayPtr<T> &array, int arrayIndex, int count)
```


| معامل | نوع | الوصف |
| --- | --- | --- |
| الفهرس | int | فهرس صفري للعنصر في القائمة التي يمثلها الكائن الحالي للبدء بالنسخ منه |
| array | const System::ArrayPtr\<T\>\& | [Array](../../../system/array/) لنسخ العناصر إليه. |
| arrayIndex | int | موضع البداية في مصفوفة الوجهة. |
| count | int | عدد العناصر التي سيتم نسخها. |

## انظر أيضًا

* Typedef [ArrayPtr](../../../system/arrayptr/)
* Class [List](../)
* Namespace [System::Collections::Generic](../../)
* Library [Aspose.Font for C++](../../../)
## List::CopyTo(System::ArrayPtr\<T\>, int) method


ينسخ عناصر القائمة إلى عناصر مصفوفة موجودة.

```cpp
void System::Collections::Generic::List<T>::CopyTo(System::ArrayPtr<T> array, int arrayIndex) override
```


| معامل | نوع | الوصف |
| --- | --- | --- |
| مصفوفة | System::ArrayPtr\<T\> | مصفوفة الوجهة. |
| arrayIndex | int | فهرس بدء مصفوفة الوجهة. |

## انظر أيضًا

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