## 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)
```


| Parametre | Tür | Açıklama |
| --- | --- | --- |
| array | const System::ArrayPtr\<T\>\& | Öğeleri kopyalanacak [Array](../../../system/array/). |

## Ayrıca Bakınız

* 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


Belirtilen indeksten 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)
```


| Parametre | Tür | Açıklama |
| --- | --- | --- |
| indeks | int | Geçerli nesne tarafından temsil edilen listede kopyalamaya başlanacak öğenin 0 tabanlı indeksi |
| array | const System::ArrayPtr\<T\>\& | Öğeleri kopyalanacak [Array](../../../system/array/). |
| arrayIndex | int | Hedef dizideki 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.Font 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
```


| Parametre | Tür | 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.Font for C++](../../../)
