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:
property XmlSchemaParticle^ Particle {
	XmlSchemaParticle^ get();
	void set(XmlSchemaParticle^ value);
}

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: