System.Xml.Schema.XmlSchemaContentType Enumeration

Assembly: System.Xml.dll
Namespace: System.Xml.Schema
Summary
Enumerations for the content model of the complex type. This represents the content in the post-schema-validation infoset.
C# Syntax:
[Serializable]
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.

See also:
System.Xml.Schema Namespace

System.Xml.Schema.XmlSchemaContentType Member List:

Public Fields
ElementOnly Element-only content.
Empty Empty content.
Mixed Mixed content.
TextOnly Text-only content.

Hierarchy:


Top of page

Copyright (c) 2002 Microsoft Corporation. All rights reserved.