## XmlSchemaChoice::get_Items method


Returns the collection of the elements contained with the compositor (**choice**): [XmlSchemaElement](../../xmlschemaelement/), [XmlSchemaGroupRef](../../xmlschemagroupref/), [XmlSchemaChoice](../), [XmlSchemaSequence](../../xmlschemasequence/), or [XmlSchemaAny](../../xmlschemaany/).

```cpp
SharedPtr<XmlSchemaObjectCollection> System::Xml::Schema::XmlSchemaChoice::get_Items() override
```


### ReturnValue

The collection of elements contained within [XmlSchemaChoice](../).

## See Also

* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [XmlSchemaObjectCollection](../../xmlschemaobjectcollection/)
* Class [XmlSchemaChoice](../)
* Namespace [System::Xml::Schema](../../)
* Library [Aspose.PDF for C++](../../../)
