## XmlSchemaInference::get_Occurrence method


Returns the [XmlSchemaInference::InferenceOption](../inferenceoption/) value that affects schema occurrence declarations inferred from the XML document.

```cpp
XmlSchemaInference::InferenceOption System::Xml::Schema::XmlSchemaInference::get_Occurrence()
```


### ReturnValue

An [XmlSchemaInference::InferenceOption](../inferenceoption/) object.

## See Also

* Enum [InferenceOption](../inferenceoption/)
* Class [XmlSchemaInference](../)
* Namespace [System::Xml::Schema](../../)
* Library [Aspose.PUB for C++](../../../)
