XmlSchemaSimpleTypeList Class
Represents the list element from XML Schema as specified by the . This class can be used to define a simpleType element as a list of values of a specified data type.
System.Xml.Schema::XmlSchemaObject
System.Xml.Schema::XmlSchemaAnnotated
System.Xml.Schema::XmlSchemaSimpleTypeContent
System.Xml.Schema::XmlSchemaSimpleTypeList
Assembly: System.Xml (in System.Xml.dll)
The XmlSchemaSimpleTypeList type exposes the following members.
| Name | Description | |
|---|---|---|
![]() ![]() | XmlSchemaSimpleTypeList | Initializes a new instance of the XmlSchemaSimpleTypeList class. |
| Name | Description | |
|---|---|---|
![]() ![]() | Annotation | Gets or sets the annotation property. (Inherited from XmlSchemaAnnotated.) |
![]() ![]() | BaseItemType | Gets or sets the XmlSchemaSimpleType representing the type of the simpleType element based on the ItemType and ItemTypeName values of the simple type. |
![]() ![]() | Id | Gets or sets the string id. (Inherited from XmlSchemaAnnotated.) |
![]() ![]() | ItemType | Gets or sets the simpleType element that is derived from the type specified by the base value. |
![]() ![]() | ItemTypeName | Gets or sets the name of a built-in data type or simpleType element defined in this schema (or another schema indicated by the specified namespace). |
![]() ![]() | 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.) |
![]() ![]() | 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.) |
| Name | Description | |
|---|---|---|
![]() ![]() | Equals(Object) | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) |
![]() ![]() | Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
![]() ![]() | GetHashCode | Serves as a hash function for a particular type. (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.) |
When a data type is derived from a list data type, the following constraining facets can be used: length, maxLength, minLength, enumeration, pattern, and whiteSpace.
For each length, maxLength, and minLength, the unit of length is measured in number of list items. The value of whiteSpace is fixed to the collapse value.
See XmlSchemaSimpleType for an example using this class.
Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows XP SP2 x64 Edition, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
