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


Tüm öğeleri mevcut dizi öğelerine kopyalar.

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


| Parameter | Type | Açıklama |
| --- | --- | --- |
| array | const System::ArrayPtr\<T\>\& | [Array](../../../system/array/) içine öğeleri kopyalamak için. |

## Ayrıca Bakınız

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


Belirtilen indeksden başlayarak öğeleri mevcut dizi öğelerine kopyalar.

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


| Parameter | Type | Açıklama |
| --- | --- | --- |
| indeks | int | Geçerli nesne tarafından temsil edilen listede kopyalamaya başlanacak öğenin 0 tabanlı indeksi. |
| array | const System::ArrayPtr\<T\>\& | [Array](../../../system/array/) içine öğeleri kopyalamak için. |
| arrayIndex | int | Hedef dizi içindeki başlangıç konumu. |
| count | int | Kopyalanacak öğe sayısı. |

## Ayrıca Bakınız

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


Liste öğelerini mevcut dizi öğelerine kopyalar.

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


| Parameter | Type | Açıklama |
| --- | --- | --- |
| dizi | System::ArrayPtr\<T\> | Hedef dizi. |
| arrayIndex | int | Hedef dizinin başlangıç indeksi. |

## Ayrıca Bakınız

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