Udostępnij za pośrednictwem


XmlSchemaAttribute.AttributeType Właściwość

Definicja

Uwaga

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

Uwaga

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

Uwaga

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

Pobiera obiekt środowiska uruchomieniowego języka wspólnego (CLR) na SchemaType podstawie atrybutu lub SchemaTypeName , który przechowuje wartość AttributeType po kompilacji właściwości.

public:
 property System::Object ^ AttributeType { System::Object ^ 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. https://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. 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("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. https://go.microsoft.com/fwlink/?linkid=14202")>]
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

Wartość właściwości

Wspólny obiekt biblioteki środowiska uruchomieniowego (CLR), który zawiera wartość AttributeType po kompilacji właściwości.

Atrybuty

Uwagi

Obiekt może być XmlSchemaDatatype taki, jeśli atrybut ma wbudowany typ schematu XML lub XmlSchemaSimpleType atrybut ma typ zdefiniowany przez użytkownika. Ta właściwość jest właściwością infoset po weryfikacji schematu.

Ważna

Właściwość AttributeType jest przestarzała w wersji 2.0 programu .NET Framework i została zastąpiona AttributeSchemaType przez właściwość .

Dotyczy