## ICollection::CopyTo method


Copie tous les éléments de la collection dans les éléments existants du tableau.

```cpp
virtual void System::Collections::Generic::ICollection<T>::CopyTo(System::ArrayPtr<T> array, int arrayIndex)=0
```


| Paramètre | Type | Description |
| --- | --- | --- |
| tableau | System::ArrayPtr\<T\> | Tableau de destination. |
| arrayIndex | int | Indice de départ du tableau de destination. |

## Voir aussi

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