## ReadOnlyCollection::CopyTo method


Kopierar behållarelement till befintliga arrayelement.

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


| Parameter | Typ | Beskrivning |
| --- | --- | --- |
| array | System::ArrayPtr\<T\> | Målararray. |
| index | int | Startindex för destinationsarrayen. |

## Se även

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