Bagikan melalui


XmlSchemaElement.ElementType Properti

Definisi

Perhatian

XmlSchemaElement.ElementType has been deprecated. Use the ElementSchemaType property that returns a strongly typed element type instead.

Perhatian

This property has been deprecated. Please use ElementSchemaType property that returns a strongly typed element type. https://go.microsoft.com/fwlink/?linkid=14202

Perhatian

This property has been deprecated. Please use ElementSchemaType property that returns a strongly typed element type. http://go.microsoft.com/fwlink/?linkid=14202

Mendapatkan objek runtime bahasa umum (CLR) berdasarkan XmlSchemaElement atau XmlSchemaElement elemen , yang menyimpan nilai ElementType pasca-kompilasi properti.

public:
 property System::Object ^ ElementType { System::Object ^ get(); };
[System.Obsolete("XmlSchemaElement.ElementType has been deprecated. Use the ElementSchemaType property that returns a strongly typed element type instead.")]
public object? ElementType { get; }
[System.Obsolete("This property has been deprecated. Please use ElementSchemaType property that returns a strongly typed element type. https://go.microsoft.com/fwlink/?linkid=14202")]
public object? ElementType { get; }
[System.Obsolete("This property has been deprecated. Please use ElementSchemaType property that returns a strongly typed element type. http://go.microsoft.com/fwlink/?linkid=14202")]
public object ElementType { get; }
[System.Obsolete("This property has been deprecated. Please use ElementSchemaType property that returns a strongly typed element type. https://go.microsoft.com/fwlink/?linkid=14202")]
public object ElementType { get; }
public object ElementType { get; }
[<System.Obsolete("XmlSchemaElement.ElementType has been deprecated. Use the ElementSchemaType property that returns a strongly typed element type instead.")>]
member this.ElementType : obj
[<System.Obsolete("This property has been deprecated. Please use ElementSchemaType property that returns a strongly typed element type. https://go.microsoft.com/fwlink/?linkid=14202")>]
member this.ElementType : obj
[<System.Obsolete("This property has been deprecated. Please use ElementSchemaType property that returns a strongly typed element type. http://go.microsoft.com/fwlink/?linkid=14202")>]
member this.ElementType : obj
member this.ElementType : obj
Public ReadOnly Property ElementType As Object

Nilai Properti

Objek runtime bahasa umum. Nilai pasca-kompilasi ElementType properti.

Atribut

Keterangan

Objek dapat jika XmlSchemaDatatype elemen memiliki jenis Skema XML bawaan atau XmlSchemaSimpleType jika elemen memiliki jenis yang ditentukan pengguna.

Properti ini adalah properti infoset pasca-validasi skema.

Penting

Properti ElementType usang dalam versi 2.0 dari .NET Framework dan telah digantikan oleh ElementSchemaType properti .

Berlaku untuk