System::Xml::Schema::XmlSchemaParticle class

XmlSchemaParticle class

A base class for that is the base class for all particle types (e.g. XmlSchemaAny).

class XmlSchemaParticle : public System::Xml::Schema::XmlSchemaAnnotated

Methods

MethodDescription
get_MaxOccurs()Returns the maximum number of times the particle can occur.
get_MaxOccursString()Returns the number as a string value. Maximum number of times the particle can occur.
get_MinOccurs()Returns the minimum number of times the particle can occur.
get_MinOccursString()Returns the number as a string value. The minimum number of times the particle can occur.
set_MaxOccurs(Decimal)Sets the maximum number of times the particle can occur.
set_MaxOccursString(const String&)Sets the number as a string value. Maximum number of times the particle can occur.
set_MinOccurs(Decimal)Sets the minimum number of times the particle can occur.
set_MinOccursString(const String&)Sets the number as a string value. The minimum number of times the particle can occur.
XmlSchemaParticle()Initializes a new instance of the XmlSchemaParticle class.

Typedefs

TypedefDescription
PtrAn alias for shared pointer to an instance of this class.

Remarks

Objects of this class should only be allocated using System::MakeObject() function. Never create instances of this type on stack or using operator new, as it will result in runtime errors and/or assertion faults. Always wrap this class into System::SmartPtr pointer and use this pointer to pass it to functions as argument.

See Also