Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

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:
© 2017 Microsoft