This documentation is archived and is not being maintained.

XmlSchemaContentType Enumeration

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

[Visual Basic]
Public Enum XmlSchemaContentType
public enum XmlSchemaContentType
__value public enum XmlSchemaContentType
enum XmlSchemaContentType


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.


Member name Description
ElementOnly Element-only content.
Empty Empty content.
Mixed Mixed content.
TextOnly Text-only content.


Namespace: System.Xml.Schema

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

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

See Also

System.Xml.Schema Namespace