XmlSchemaElement.ElementType 属性
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
注意
This property has been deprecated. Please use ElementSchemaType property that returns a strongly typed element type. https://go.microsoft.com/fwlink/?linkid=14202
注意
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. http://go.microsoft.com/fwlink/?linkid=14202
基于保存编译后 ElementType
属性值的元素的 XmlSchemaElement 或 XmlSchemaElement,获取公共语言运行时 (CLR) 对象。
public:
property System::Object ^ ElementType { System::Object ^ 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("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. 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("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("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. 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属性。