## XmlSchemaObjectCollection::CopyTo method


Copia todos los XmlSchemaObjects de la colección en la matriz dada, comenzando en el índice proporcionado.

```cpp
void System::Xml::Schema::XmlSchemaObjectCollection::CopyTo(const ArrayPtr<SharedPtr<XmlSchemaObject>> &array, int32_t index)
```


| Parámetro | Tipo | Descripción |
| --- | --- | --- |
| array | const ArrayPtr\<SharedPtr\<XmlSchemaObject\>\>\& | La matriz que es el destino de los elementos copiados de la [XmlSchemaObjectCollection](../). La matriz debe tener indexación basada en cero. |
| índice | int32_t | El índice basado en cero en la matriz donde comienza la copia. |

## Ver también

* Typedef [ArrayPtr](../../../system/arrayptr/)
* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [XmlSchemaObject](../../xmlschemaobject/)
* Class [XmlSchemaObjectCollection](../)
* Namespace [System::Xml::Schema](../../)
* Library [Aspose.Page for C++](../../../)
