This documentation is archived and is not being maintained.
XmlSchemaContentType Enumeration
.NET Framework 1.1
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
Show: