## XmlSchemaObjectCollection::Add method


Fügt ein [XmlSchemaObject](../../xmlschemaobject/) zur [XmlSchemaObjectCollection](../) hinzu.

```cpp
int32_t System::Xml::Schema::XmlSchemaObjectCollection::Add(const SharedPtr<XmlSchemaObject> &item)
```


| Parameter | Typ | Beschreibung |
| --- | --- | --- |
| item | const SharedPtr\<XmlSchemaObject\>\& | Das [XmlSchemaObject](../../xmlschemaobject/). |

### ReturnValue

Der Index, an dem das Element hinzugefügt wurde.

## Siehe auch

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