Freigeben über


XmlSchemaComplexType.Particle-Eigenschaft

Ruft den Compositortyp als eine der Klassen XmlSchemaGroupRef, XmlSchemaChoice, XmlSchemaAll oder XmlSchemaSequence ab oder legt diesen fest.

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

Syntax

'Declaration
Public Property Particle As XmlSchemaParticle
'Usage
Dim instance As XmlSchemaComplexType
Dim value As XmlSchemaParticle

value = instance.Particle

instance.Particle = value
public XmlSchemaParticle Particle { get; set; }
public:
property XmlSchemaParticle^ Particle {
    XmlSchemaParticle^ get ();
    void set (XmlSchemaParticle^ value);
}
/** @property */
public XmlSchemaParticle get_Particle ()

/** @property */
public void set_Particle (XmlSchemaParticle value)
public function get Particle () : XmlSchemaParticle

public function set Particle (value : XmlSchemaParticle)

Eigenschaftenwert

Der Compositortyp.

Hinweise

Partikel müssen einer der folgenden Compositors sein:

Element

Beschreibung

group

Der komplexe Typ enthält die Elemente, die in der Gruppe definiert sind, auf die verwiesen wird.

sequence

Der komplexe Typ enthält die Elemente, die in der angegebenen Folge definiert sind.

choice

Der komplexe Typ lässt eines der im choice-Element angegebenen Elemente zu.

all

Der komplexe Typ erlaubt, dass alle im all-Element angegebenen Elemente 0 oder einmal vorkommen.

Dies und die ContentModel-Eigenschaft schließen sich gegenseitig aus.

Plattformen

Windows 98, Windows 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile für Pocket PC, Windows Mobile für Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

.NET Framework unterstützt nicht alle Versionen sämtlicher Plattformen. Eine Liste der unterstützten Versionen finden Sie unter Systemanforderungen.

Versionsinformationen

.NET Framework

Unterstützt in: 2.0, 1.1, 1.0

.NET Compact Framework

Unterstützt in: 2.0

Siehe auch

Referenz

XmlSchemaComplexType-Klasse
XmlSchemaComplexType-Member
System.Xml.Schema-Namespace