Edit

Share via


XmlSchemaSimpleTypeList Class

Definition

Represents the list element from XML Schema as specified by the World Wide Web Consortium (W3C). This class can be used to define a simpleType element as a list of values of a specified data type.

public ref class XmlSchemaSimpleTypeList : System::Xml::Schema::XmlSchemaSimpleTypeContent
public class XmlSchemaSimpleTypeList : System.Xml.Schema.XmlSchemaSimpleTypeContent
type XmlSchemaSimpleTypeList = class
    inherit XmlSchemaSimpleTypeContent
Public Class XmlSchemaSimpleTypeList
Inherits XmlSchemaSimpleTypeContent
Inheritance

Examples

See XmlSchemaSimpleType for an example using this class.

Remarks

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.

Constructors

XmlSchemaSimpleTypeList()

Initializes a new instance of the XmlSchemaSimpleTypeList class.

Properties

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)

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