Modifica

Condividi tramite


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
type XmlSchemaParticle = class
    inherit 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()

Initializes a new instance of the XmlSchemaParticle class.

Properties

Annotation

Gets or sets the annotation property.

(Inherited from XmlSchemaAnnotated)
Id

Gets or sets the string id.

(Inherited from XmlSchemaAnnotated)
LineNumber

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

(Inherited from XmlSchemaObject)
LinePosition

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

(Inherited from XmlSchemaObject)
MaxOccurs

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

MaxOccursString

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

MinOccurs

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

MinOccursString

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

Namespaces

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

(Inherited from XmlSchemaObject)
Parent

Gets or sets the parent of this XmlSchemaObject.

(Inherited from XmlSchemaObject)
SourceUri

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

(Inherited from XmlSchemaObject)
UnhandledAttributes

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

(Inherited from XmlSchemaAnnotated)

Methods

Equals(Object)

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

(Inherited from Object)
GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to