## InferenceOption enum


Affects occurrence and type information inferred by the [XmlSchemaInference](../) class for elements and attributes in an XML document.

```cpp
enum class InferenceOption
```

### Values

| Name | Value | Description |
| --- | --- | --- |
| Restricted | 0 | Indicates that a more restrictive schema declaration should be inferred for a particular element or attribute. |
| Relaxed | 1 | Indicates that a less restrictive schema declaration should be inferred for a particular element or attribute. |

## See Also

* Class [XmlSchemaInference](../)
* Namespace [System::Xml::Schema](../../)
* Library [Aspose.PDF for C++](../../../)
