Schemas()

XmlSchemaSet::Schemas() method

Returns a collection of all the XML Schema definition language (XSD) schemas in the XmlSchemaSet.

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

Return Value

An IList object containing all the schemas that have been added to the XmlSchemaSet. If no schemas have been added to the XmlSchemaSet, an empty collection is returned.

XmlSchemaSet::Schemas(String) method

Returns a collection of all the XML Schema definition language (XSD) schemas in the XmlSchemaSet that belong to the given namespace.

SharedPtr<Collections::Generic::List<SharedPtr<XmlSchema>>> System::Xml::Schema::XmlSchemaSet::Schemas(String targetNamespace)

Arguments

ParameterTypeDescription
targetNamespaceStringThe schema targetNamespace property.

Return Value

An IList object containing all the schemas that have been added to the XmlSchemaSet that belong to the given namespace. If no schemas have been added to the XmlSchemaSet, an empty collection is returned.

See Also