共用方式為


XmlSchemaAttribute.AttributeType 屬性

定義

警告

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

警告

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

警告

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

根據持有該屬性編譯後值AttributeType的屬性SchemaTypeName或 ,SchemaType取得通用語言執行時(CLR)物件。

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

屬性值

共用的執行時函式庫(CLR)物件,儲存該屬性編譯後的值 AttributeType

屬性

備註

該物件可以是 XmlSchemaDatatype 屬性內建 XML Schema 類型,或 XmlSchemaSimpleType 屬性有使用者定義型別。 此屬性為後模式驗證資訊集屬性。

這很重要

AttributeType 屬性在 .NET Framework 2.0 版本中已過時,並被該 AttributeSchemaType 屬性取代。

適用於