## ICollection::CopyTo method


Kopiert alle Elemente der Sammlung in vorhandene Array‑Elemente.

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


| Parameter | Typ | Beschreibung |
| --- | --- | --- |
| Array | System::ArrayPtr\<T\> | Ziel-Array. |
| arrayIndex | int | Startindex des Ziel-Arrays. |

## Siehe auch

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