Bewerken

Delen via


XmlSchemaDatatype.TypeCode Property

Definition

Gets the XmlTypeCode value for the simple type.

public:
 virtual property System::Xml::Schema::XmlTypeCode TypeCode { System::Xml::Schema::XmlTypeCode get(); };
public virtual System.Xml.Schema.XmlTypeCode TypeCode { get; }
member this.TypeCode : System.Xml.Schema.XmlTypeCode
Public Overridable ReadOnly Property TypeCode As XmlTypeCode

Property Value

The XmlTypeCode value for the simple type.

Examples

For an example of the TypeCode property, see XmlSchemaDatatype.

Remarks

W3C XML Schema list types such as xs:ENTITIES, xs:NMTOKENS and xs:IDREFS are not represented by the XmlTypeCode enumeration. Instead they are represented by the XmlTypeCode values for the xs:ENTITY, xs:NMTOKEN and xs:IDREF types with the Variety property of the XmlSchemaDatatype object set to List.

Note

Both the xs:anySimpleType and xs:anyType types are not represented by XmlTypeCode enumeration. These are represented in an XmlSchemaDatatype object with an XmlTypeCode whose value is UntypedAtomic for xs:anySimpleType or Item for xs:anyType.

Applies to

See also