XmlSchemaDatatype.TypeCode Property
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.
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
Зворотний зв’язок
https://aka.ms/ContentUserFeedback.
Очікується незабаром: протягом 2024 року ми будемо припиняти використання механізму реєстрації проблем у GitHub для зворотного зв’язку щодо вмісту й замінювати його новою системою зворотного зв’язку. Докладніше:Надіслати й переглянути відгук про