XmlSchemaAttribute.AttributeType 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
警告
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 屬性取代。