XmlSchemaContentType 枚举   
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
复杂类型的内容模型的枚举。 这表示后架构验证信息集 (infoset) 中的内容。
public enum class XmlSchemaContentTypepublic enum XmlSchemaContentTypetype XmlSchemaContentType = Public Enum XmlSchemaContentType- 继承
字段
| ElementOnly | 2 | 纯元素内容。 | 
| Empty | 1 | 空内容。 | 
| Mixed | 3 | 混合内容。 | 
| TextOnly | 0 | 纯文本内容。 | 
注解
如果属性IsMixed设置为true``ContentModel具有类型XmlSchemaComplexContent的属性,则此处返回的值为 Mixed。 如果属性IsMixed是,则值为或 Empty ElementOnly。false
If the type on the ContentModel property has the type XmlSchemaSimpleContent, this value is always TextOnly.