Partager via


XmlSchemaElement.ElementType Propriété

Définition

Attention

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

Attention

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

Attention

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

Obtient un objet CLR (Common Language Runtime) basé sur XmlSchemaElement ou XmlSchemaElement de l'élément qui contient la valeur de post-compilation de la propriété ElementType.

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

Valeur de propriété

Object

Objet CLR (common language runtime). Valeur de post-compilation de la propriété ElementType.

Attributs

Remarques

L’objet peut être XmlSchemaDatatype si l’élément a un type de schéma XML intégré ou XmlSchemaSimpleType si l’élément a un type défini par l’utilisateur.

Cette propriété est une propriété d’ensemble d’informations post-validation de schéma.

Important

La ElementType propriété est obsolète dans la version 2.0 du .NET Framework et a été remplacée par la ElementSchemaType propriété.

S’applique à