System::Xml::Schema::XmlSchemaSet::Schemas 方法

XmlSchemaSet::Schemas() method

返回 XmlSchemaSet 中所有 XML Schema 定义语言 (XSD) 架构的集合。

SharedPtr<Collections::Generic::IList<SharedPtr<XmlSchema>>> System::Xml::Schema::XmlSchemaSet::Schemas()

ReturnValue

一个 IList 对象,包含已添加到 XmlSchemaSet 的所有架构。如果未向 XmlSchemaSet 添加任何架构,则返回空集合。

另见

XmlSchemaSet::Schemas(String) method

返回属于给定命名空间的 XmlSchemaSet 中所有 XML Schema 定义语言 (XSD) 架构的集合。

SharedPtr<Collections::Generic::List<SharedPtr<XmlSchema>>> System::Xml::Schema::XmlSchemaSet::Schemas(String targetNamespace)
参数类型描述
targetNamespaceString架构的 targetNamespace 属性。

ReturnValue

一个 IList 对象,包含已添加到 XmlSchemaSet 且属于给定命名空间的所有架构。如果未向 XmlSchemaSet 添加任何架构,则返回空集合。

另见