XmlSchemaParticle XmlSchemaParticle XmlSchemaParticle Class

Definition

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

public ref class XmlSchemaParticle abstract : System::Xml::Schema::XmlSchemaAnnotated
public abstract class XmlSchemaParticle : System.Xml.Schema.XmlSchemaAnnotated
Public MustInherit Class XmlSchemaParticle
Inherits XmlSchemaAnnotated
Inheritance
Derived

Examples

See XmlSchemaAny, XmlSchemaElement, or XmlSchemaGroup for an example using this class.

Remarks

Particle types are usually interchangeable. Particle can be a local element declaration or reference to a global element declaration (element), a compositor (sequence, choice, or all), a reference to a named content model group (group), or an element wildcard (any).

Constructors

XmlSchemaParticle() XmlSchemaParticle() XmlSchemaParticle()

Initializes a new instance of the XmlSchemaParticle class.

Properties

Annotation Annotation Annotation

Gets or sets the annotation property.

(Inherited from XmlSchemaAnnotated)
Id Id Id

Gets or sets the string id.

(Inherited from XmlSchemaAnnotated)
LineNumber LineNumber LineNumber

Gets or sets the line number in the file to which the schema element refers.

(Inherited from XmlSchemaObject)
LinePosition LinePosition LinePosition

Gets or sets the line position in the file to which the schema element refers.

(Inherited from XmlSchemaObject)
MaxOccurs MaxOccurs MaxOccurs

Gets or sets the maximum number of times the particle can occur.

MaxOccursString MaxOccursString MaxOccursString

Gets or sets the number as a string value. Maximum number of times the particle can occur.

MinOccurs MinOccurs MinOccurs

Gets or sets the minimum number of times the particle can occur.

MinOccursString MinOccursString MinOccursString

Gets or sets the number as a string value. The minimum number of times the particle can occur.

Namespaces Namespaces Namespaces

Gets or sets the XmlSerializerNamespaces to use with this schema object.

(Inherited from XmlSchemaObject)
Parent Parent Parent

Gets or sets the parent of this XmlSchemaObject.

(Inherited from XmlSchemaObject)
SourceUri SourceUri SourceUri

Gets or sets the source location for the file that loaded the schema.

(Inherited from XmlSchemaObject)
UnhandledAttributes UnhandledAttributes UnhandledAttributes

Gets or sets the qualified attributes that do not belong to the current schema's target namespace.

(Inherited from XmlSchemaAnnotated)

Methods

Equals(Object) Equals(Object) Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode() GetHashCode() GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType() GetType() GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone() MemberwiseClone() MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString() ToString() ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to