## XmlSchemaCollection::CopyTo method


Kopierar alla [XmlSchema](../../xmlschema/)-objekt från denna samling till den angivna arrayen med start vid det angivna indexet.

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


| Parameter | Type | Beskrivning |
| --- | --- | --- |
| array | const ArrayPtr\<SharedPtr\<XmlSchema\>\>\& | Arrayen att kopiera objekten till. |
| index | int32_t | Indexet i **array** där kopieringen börjar. |

## Se även

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