Bagikan melalui


XmlSchemaDatatype.TypeCode Properti

Definisi

XmlTypeCode Mendapatkan nilai untuk jenis sederhana.

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

Nilai Properti

Nilai XmlTypeCode untuk jenis sederhana.

Contoh

Untuk contoh TypeCode properti, lihat XmlSchemaDatatype.

Keterangan

Jenis daftar Skema XML W3C seperti xs:ENTITIES, xs:NMTOKENS dan xs:IDREFS tidak diwakili oleh XmlTypeCode enumerasi. Sebaliknya mereka diwakili oleh XmlTypeCode nilai untuk jenis xs:ENTITY, xs:NMTOKEN dan xs:IDREF dengan Variety properti objek yang XmlSchemaDatatype diatur ke List.

Nota

Jenis xs:anySimpleType dan xs:anyType tidak diwakili oleh XmlTypeCode enumerasi. Ini diwakili dalam XmlSchemaDatatype objek dengan XmlTypeCode nilainya untuk UntypedAtomic xs:anySimpleType atau Item untuk xs:anyType.

Berlaku untuk

Lihat juga