XmlSchemaInference.InferenceOption 枚举
定义
影响 XmlSchemaInference 类推导出的有关 XML 文档中元素和特性的匹配项和类型信息。Affects occurrence and type information inferred by the XmlSchemaInference class for elements and attributes in an XML document.
public: enum class XmlSchemaInference::InferenceOption
public enum XmlSchemaInference.InferenceOption
type XmlSchemaInference.InferenceOption =
Public Enum XmlSchemaInference.InferenceOption
- 继承
字段
Relaxed | 1 | 指示应推导特定元素或特性的限制性较低的架构声明。Indicates that a less restrictive schema declaration should be inferred for a particular element or attribute. |
Restricted | 0 | 指示应推导特定元素或特性的限制性较高的架构声明。Indicates that a more restrictive schema declaration should be inferred for a particular element or attribute. |
示例
有关XmlSchemaInference.InferenceOption枚举的示例, XmlSchemaInference请参见类。For an example of the XmlSchemaInference.InferenceOption enumeration, see the XmlSchemaInference class.