## Collection::CopyTo method


Kopierar samlingselement till befintliga arrayelement.

```cpp
virtual void System::Collections::ObjectModel::Collection<T>::CopyTo(ArrayPtr<T> arr, int index) override
```


| Parameter | Typ | Beskrivning |
| --- | --- | --- |
| arr | ArrayPtr\<T\> | Målararray. |
| index | int | Startindex för destinationsarray. |

## Se även

* Typedef [ArrayPtr](../../../system/arrayptr/)
* Class [Collection](../)
* Namespace [System::Collections::ObjectModel](../../)
* Library [Aspose.PDF for C++](../../../)
