System.Xml.Schema.XmlSchemaContentType Enumeration

Enumerations for the content model of the complex type. This represents the content in the post-schema-validation information set (infoset).

Syntax

public enum XmlSchemaContentType

Remarks

If the IsMixed property is set to true on the ContentModel property that has the type XmlSchemaComplexContent, the value returned here is Mixed. If the IsMixed property is false, the value is either Empty or ElementOnly.

If the type on the ContentModel property has the type XmlSchemaSimpleContent, this value is always TextOnly.

Members

Member NameDescription
ElementOnly

Element-only content.

Empty

Empty content.

Mixed

Mixed content.

TextOnly

Text-only content.

Requirements

Namespace: System.Xml.Schema
Assembly: System.Xml (in System.Xml.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0, 4.0.0.0