## XmlSchemaSet::CopyTo method


Copies all the [XmlSchema](../../xmlschema/) objects from the [XmlSchemaSet](../) to the given array, starting at the given index.

```cpp
void System::Xml::Schema::XmlSchemaSet::CopyTo(const ArrayPtr<SharedPtr<XmlSchema>> &schemas, int32_t index)
```


| Parameter | Type | Description |
| --- | --- | --- |
| schemas | const ArrayPtr\<SharedPtr\<XmlSchema\>\>\& | The array to copy the objects to. |
| index | int32_t | The index in the array where copying will begin. |

## See Also

* Typedef [ArrayPtr](../../../system/arrayptr/)
* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [XmlSchema](../../xmlschema/)
* Class [XmlSchemaSet](../)
* Namespace [System::Xml::Schema](../../)
* Library [Aspose.PDF for C++](../../../)
