XmlSchemaElement.ElementType 属性
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
注意
XmlSchemaElement.ElementType has been deprecated. Use the ElementSchemaType property that returns a strongly typed element type instead.
注意
This property has been deprecated. Please use ElementSchemaType property that returns a strongly typed element type. https://go.microsoft.com/fwlink/?linkid=14202
注意
This property has been deprecated. Please use ElementSchemaType property that returns a strongly typed element type. http://go.microsoft.com/fwlink/?linkid=14202
获取基于 XmlSchemaElement 元素或 XmlSchemaElement 元素的公共语言运行时(CLR)对象,该对象保存属性的 ElementType 编译后值。
public:
property System::Object ^ ElementType { System::Object ^ get(); };
[System.Obsolete("XmlSchemaElement.ElementType has been deprecated. Use the ElementSchemaType property that returns a strongly typed element type instead.")]
public object? ElementType { get; }
[System.Obsolete("This property has been deprecated. Please use ElementSchemaType property that returns a strongly typed element type. https://go.microsoft.com/fwlink/?linkid=14202")]
public object? ElementType { get; }
[System.Obsolete("This property has been deprecated. Please use ElementSchemaType property that returns a strongly typed element type. http://go.microsoft.com/fwlink/?linkid=14202")]
public object ElementType { get; }
[System.Obsolete("This property has been deprecated. Please use ElementSchemaType property that returns a strongly typed element type. https://go.microsoft.com/fwlink/?linkid=14202")]
public object ElementType { get; }
public object ElementType { get; }
[<System.Obsolete("XmlSchemaElement.ElementType has been deprecated. Use the ElementSchemaType property that returns a strongly typed element type instead.")>]
member this.ElementType : obj
[<System.Obsolete("This property has been deprecated. Please use ElementSchemaType property that returns a strongly typed element type. https://go.microsoft.com/fwlink/?linkid=14202")>]
member this.ElementType : obj
[<System.Obsolete("This property has been deprecated. Please use ElementSchemaType property that returns a strongly typed element type. http://go.microsoft.com/fwlink/?linkid=14202")>]
member this.ElementType : obj
member this.ElementType : obj
Public ReadOnly Property ElementType As Object
属性值
公共语言运行时对象。 属性的 ElementType 编译后值。
- 属性
注解
如果元素具有内置 XML 架构类型,或者XmlSchemaSimpleType该元素具有用户定义的类型,则对象可以是XmlSchemaDatatype该对象。
此属性是架构验证后信息集属性。
重要
该 ElementType 属性在 .NET Framework 的 2.0 版本中已过时,已被该属性替换 ElementSchemaType 。