Altova XMLSpy 2024 Enterprise Edition

该类使您能够访问有关从复杂类型生成的类的Schema信息。请注意,该类并不旨在提供有关XML文档中复杂类型的特定实例的动态信息。相反,它使您能够以编程方式获取有关XML Schema中定义的特定复杂类型的信息。

 

属性


Name

描述

ic_property

Attribute[] Attributes

返回所有特性的列表。

ic_property

ComplexType BaseType

返回此类型的基类型;如果不存在基类型,则返回null。

ic_property

SimpleType ContentType

返回该内容的简单类型。

ic_property

Element[] Elements

返回所有元素的列表。

ic_property

string LocalName

返回类型的本地名称。

ic_property

string NamespaceURI

返回类型的命名空间URI。

ic_property

XmlQualifiedName QualifiedName

返回此类型的限定名称。

 

方法


Name

描述

ic_method

ComplexType BaseType

返回此类型的基类型。

ic_method

bool Equals(obj)

根据限定名称比较检查两个信息对象是否引用同一个类型。如果该类型具有相同的限定名称,则返回true。

ic_method

Attribute FindAttribute(string localName, string namespaceURI)

查找带有指定的本地名称和命名空间URI的特性。

ic_method

Element FindElement(string localName, string namespaceURI)

查找带有指定的本地名称和命名空间URI的元素。

© 2017-2023 Altova GmbH