## ReadOnlyCollection::CopyTo method


Copia los elementos del contenedor a los elementos existentes de la matriz.

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


| Parámetro | Tipo | Descripción |
| --- | --- | --- |
| matriz | System::ArrayPtr\<T\> | Matriz de destino. |
| índice | int | Índice inicial de la matriz de destino. |

## Ver también

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