## XmlSchemaObjectCollection::Insert method


Inserts an [XmlSchemaObject](../../xmlschemaobject/) to the [XmlSchemaObjectCollection](../).

```cpp
void System::Xml::Schema::XmlSchemaObjectCollection::Insert(int32_t index, const SharedPtr<XmlSchemaObject> &item)
```


| Parameter | Type | Description |
| --- | --- | --- |
| index | int32_t | The zero-based index at which an item should be inserted. |
| item | const SharedPtr\<XmlSchemaObject\>\& | The [XmlSchemaObject](../../xmlschemaobject/) to insert. |

## See Also

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