Partilhar via


XmlSchemaAttribute.AttributeType Propriedade

Definição

Cuidado

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

Cuidado

XmlSchemaAttribute.AttributeType has been deprecated. Use the AttributeSchemaType property that returns a strongly typed attribute type instead.

Cuidado

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

Obtém o objeto do CLR (Common Language Runtime) com base no SchemaType ou no SchemaTypeName do atributo que contém o valor de pós-compilação da propriedade AttributeType.

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

Valor da propriedade

O objeto CLR (common runtime library) que contém o valor pós-compilação da AttributeType propriedade .

Atributos

Comentários

O objeto poderá ser XmlSchemaDatatype se o atributo tiver um tipo de esquema XML interno ou XmlSchemaSimpleType se o atributo tiver um tipo definido pelo usuário. Essa propriedade é uma propriedade de infoset pós-validação de esquema.

Importante

A AttributeType propriedade está obsoleta na versão 2.0 do .NET Framework e foi substituída pela AttributeSchemaType propriedade .

Aplica-se a