Particle Property

XmlSchemaComplexType.Particle Property

 

Gets or sets the compositor type as one of the XmlSchemaGroupRef, XmlSchemaChoice, XmlSchemaAll, or XmlSchemaSequence classes.

Namespace:   System.Xml.Schema
Assembly:  System.Xml (in System.Xml.dll)

public XmlSchemaParticle Particle { get; set; }

Property Value

Type: System.Xml.Schema.XmlSchemaParticle

The compositor type.

Particles must be one of the following compositors:

Element

Description

group

The complex type contains the elements defined in the referenced group.

sequence

The complex type contains the elements defined in the specified sequence.

choice

The complex type allows one of the elements specified in the choice element.

all

The complex type allows all of the elements specified in the all element to appear once or not at all.

This is mutually exclusive with the ContentModel property.

.NET Framework
Available since 1.1
Return to top
Show:
© 2016 Microsoft