XmlSchemaAttribute.AttributeType 属性

定义

注意

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

注意

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. http://go.microsoft.com/fwlink/?linkid=14202

基于保存编译后 AttributeType 属性值的特性的 SchemaTypeSchemaTypeName,获取公共语言运行时 (CLR) 对象。

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

属性值

Object

公共运行库 (CLR) 对象,保存 AttributeType 属性的编译后值。

属性

注解

如果属性具有内置 XML 架构类型,或者XmlSchemaSimpleType该属性具有用户定义的类型,则对象可以是XmlSchemaDatatype该对象。 此属性是架构验证后的信息集属性。

重要

AttributeType属性在 .NET Framework 的 2.0 版本中已过时,已被该AttributeSchemaType属性替换。

适用于