Sdílet prostřednictvím


XmlSchemaElement.ElementType Vlastnost

Definice

Upozornění

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

Upozornění

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

Upozornění

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

Získá common language runtime (CLR) objekt založený na XmlSchemaElement nebo XmlSchemaElement elementu, který obsahuje hodnotu post-kompilace ElementType vlastnosti.

public:
 property System::Object ^ ElementType { System::Object ^ 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("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. 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("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("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. http://go.microsoft.com/fwlink/?linkid=14202")>]
member this.ElementType : obj
member this.ElementType : obj
Public ReadOnly Property ElementType As Object

Hodnota vlastnosti

Objekt common language runtime. Hodnota po kompilaci ElementType vlastnosti.

Atributy

Poznámky

Objekt může být XmlSchemaDatatype , pokud má prvek předdefinovaný typ schématu XML nebo XmlSchemaSimpleType pokud element má typ definovaný uživatelem.

Tato vlastnost je vlastnost infoset po ověření schématu.

Důležité

Vlastnost ElementType je zastaralá ve verzi 2.0 rozhraní .NET Framework a byla nahrazena ElementSchemaType vlastností .

Platí pro