## XmlSchemaObjectCollection::CopyTo method


ينسخ جميع XmlSchemaObjects من المجموعة إلى المصفوفة المعطاة، بدءاً من الفهرس المحدد.

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


| Parameter | Type | الوصف |
| --- | --- | --- |
| array | const ArrayPtr\<SharedPtr\<XmlSchemaObject\>\>\& | المصفوفة التي هي وجهة العناصر المنسوخة من [XmlSchemaObjectCollection](../). يجب أن تكون المصفوفة ذات فهرسة صفرية. |
| الفهرس | int32_t | الفهرس الصفري في المصفوفة الذي يبدأ عنده النسخ. |

## انظر أيضًا

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