XmlSchemaAttribute.AttributeType Özellik

Tanım

Dikkat

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

Dikkat

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

Dikkat

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

Özelliğin derleme sonrası değerini AttributeType tutan veya SchemaTypeName özniteliğini temel alan SchemaType ortak dil çalışma zamanı (CLR) nesnesini alır.

C#
[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; }
C#
[System.Obsolete("XmlSchemaAttribute.AttributeType has been deprecated. Use the AttributeSchemaType property that returns a strongly typed attribute type instead.")]
public object? AttributeType { get; }
C#
[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; }
C#
[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; }
C#
public object AttributeType { get; }

Özellik Değeri

Özelliğin derleme sonrası değerini AttributeType tutan ortak çalışma zamanı kitaplığı (CLR) nesnesi.

Öznitelikler

Açıklamalar

Nesne, özniteliğin yerleşik bir XML Şeması türüne sahip olması veya XmlSchemaSimpleType özniteliğin kullanıcı tanımlı bir türe sahip olması olabilirXmlSchemaDatatype. Bu özellik, şema doğrulama sonrası bilgi kümesi özelliğidir.

Önemli

AttributeType özelliği, .NET Framework 2.0 sürümünde kullanımdan kaldırılmıştır ve özelliğiyle AttributeSchemaType değiştirilmiştir.

Şunlara uygulanır

Ürün Sürümler (Kullanım dışı)
.NET (Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8, 9)
.NET Framework 1.1 (2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1)
.NET Standard (2.0, 2.1)