XmlSchemaContentType Enumeration
Definition
Enumerationen für das Inhaltsmodell des komplexen Typs.Enumerations for the content model of the complex type. Dies stellt den Inhalt im Informationensatz (infoset) für die Post-Schema-Validierung dar.This represents the content in the post-schema-validation information set (infoset).
public enum class XmlSchemaContentType
public enum XmlSchemaContentType
type XmlSchemaContentType =
Public Enum XmlSchemaContentType
- Vererbung
Felder
ElementOnly | 2 | Nur-Element-Inhalt.Element-only content. |
Empty | 1 | Leerer Inhalt.Empty content. |
Mixed | 3 | Gemischter Inhalt.Mixed content. |
TextOnly | 0 | Nur-Text-Inhalt.Text-only content. |
Hinweise
Wenn die- IsMixed
Eigenschaft für die-Eigenschaft mit dem-Typ auf festgelegt ist true
ContentModel
XmlSchemaComplexContent
, ist der hier zurückgegebene Wert Mixed
.If the IsMixed
property is set to true
on the ContentModel
property that has the type XmlSchemaComplexContent
, the value returned here is Mixed
. Wenn die- IsMixed
Eigenschaft ist false
, ist der Wert entweder Empty
oder ElementOnly
.If the IsMixed
property is false
, the value is either Empty
or ElementOnly
.
Wenn der Typ der- ContentModel
Eigenschaft den-Typ aufweist XmlSchemaSimpleContent
, ist dieser Wert immer TextOnly
.If the type on the ContentModel
property has the type XmlSchemaSimpleContent
, this value is always TextOnly
.