Editar

Partilhar via


XmlSchemaComplexType.Particle Property

Definition

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

public:
 property System::Xml::Schema::XmlSchemaParticle ^ Particle { System::Xml::Schema::XmlSchemaParticle ^ get(); void set(System::Xml::Schema::XmlSchemaParticle ^ value); };
public System.Xml.Schema.XmlSchemaParticle? Particle { get; set; }
public System.Xml.Schema.XmlSchemaParticle Particle { get; set; }
member this.Particle : System.Xml.Schema.XmlSchemaParticle with get, set
Public Property Particle As XmlSchemaParticle

Property Value

The compositor type.

Remarks

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.

Applies to