XmlSchemaSimpleTypeList Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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 |
BaseItemType |
Gets or sets the XmlSchemaSimpleType representing the type of the |
Id |
Gets or sets the string id. (Inherited from XmlSchemaAnnotated) |
ItemType |
Gets or sets the |
ItemTypeName |
Gets or sets the name of a built-in data type or |
LineNumber |
Gets or sets the line number in the file to which the |
LinePosition |
Gets or sets the line position in the file to which the |
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) |