Condividi tramite


XmlSchemaElement.ElementType Proprietà

Definizione

Attenzione

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

Attenzione

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

Attenzione

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

Ottiene un oggetto Common Language Runtime (CLR) in base a XmlSchemaElement o XmlSchemaElement dell'elemento che contiene il valore successivo alla compilazione della proprietà 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

Valore della proprietà

Oggetto Common Language Runtime. Valore che la proprietà ElementType assume dopo la compilazione.

Attributi

Commenti

L'oggetto può essere XmlSchemaDatatype se l'elemento ha un tipo XML Schema predefinito o XmlSchemaSimpleType se l'elemento ha un tipo definito dall'utente.

Questa proprietà è una proprietà infoset post-schema-validation.

Importante

La ElementType proprietà è obsoleta nella versione 2.0 di .NET Framework ed è stata sostituita dalla ElementSchemaType proprietà .

Si applica a