Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Expand Minimize

XmlSchemaContentType Enumeration

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

[Visual Basic]
<Serializable>
Public Enum XmlSchemaContentType
[C#]
[Serializable]
public enum XmlSchemaContentType
[C++]
[Serializable]
__value public enum XmlSchemaContentType
[JScript]
public
   Serializable
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 name Description
ElementOnly Element-only content.
Empty Empty content.
Mixed Mixed content.
TextOnly Text-only content.

Requirements

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

Show:
© 2015 Microsoft