Compartir a través de


XmlSchemaElement.ElementType Propiedad

Definición

Precaución

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

Precaución

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

Precaución

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

Obtiene un objeto Common Language Runtime (CLR) en función del XmlSchemaElement o del XmlSchemaElement del elemento, que contiene el valor posterior a la compilación de la propiedad 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

Valor de propiedad

Object

Objeto Common Language Runtime. Valor posterior a la compilación de la propiedad ElementType.

Atributos

Comentarios

El objeto puede ser XmlSchemaDatatype si el elemento tiene un tipo de esquema XML integrado o XmlSchemaSimpleType si el elemento tiene un tipo definido por el usuario.

Esta propiedad es una propiedad del conjunto de información posterior a la validación del esquema.

Importante

La ElementType propiedad está obsoleta en la versión 2.0 del .NET Framework y se ha reemplazado por la ElementSchemaType propiedad .

Se aplica a