XmlSchemaInference.InferenceOption Enumeration

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Affects occurrence and type information inferred by the XmlSchemaInference class for elements and attributes in an XML document.

Namespace:   System.Xml.Schema
Assembly:  System.Xml (in System.Xml.dll)

public enum InferenceOption

Member nameDescription
Relaxed

Indicates that a less restrictive schema declaration should be inferred for a particular element or attribute.

Restricted

Indicates that a more restrictive schema declaration should be inferred for a particular element or attribute.

For an example of the XmlSchemaInference.InferenceOption enumeration, see the XmlSchemaInference class.

.NET Framework
Available since 2.0
Return to top
Show: