## ICollection::CopyTo method


Kopieert alle collectie‑elementen naar bestaande array‑elementen.

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


| Parameter | Type | Beschrijving |
| --- | --- | --- |
| array | System::ArrayPtr\<T\> | Doel-array. |
| arrayIndex | int | Startindex van doel-array. |

## Zie ook

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