## XmlSchemaCollection::CopyTo method


将此集合中的所有 [XmlSchema](../../xmlschema/) 对象复制到给定数组中，从给定的索引开始。

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


| 参数 | 类型 | 描述 |
| --- | --- | --- |
| 数组 | const ArrayPtr\<SharedPtr\<XmlSchema\>\>\& | 用于复制对象的数组。 |
| 索引 | int32_t | 复制将开始的 **array** 索引。 |

## 另见

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