اقرأ باللغة الإنجليزية تحرير

مشاركة عبر


XmlSchemaParticle Class

Definition

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

public abstract class XmlSchemaParticle : System.Xml.Schema.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

منتج الإصدارات
.NET Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8, 9
.NET Framework 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
.NET Standard 2.0, 2.1