System::Xml::Schema::XmlSchemaCollection::idx_get method

XmlSchemaCollection::idx_get method

Returns the XmlSchema associated with the given namespace URI.

SharedPtr<XmlSchema> System::Xml::Schema::XmlSchemaCollection::idx_get(const String &ns)
ParameterTypeDescription
nsconst String&The namespace URI associated with the schema you want to return. This will typically be the targetNamespace of the schema.

ReturnValue

The XmlSchema associated with the namespace URI; nullptr if there is no loaded schema associated with the given namespace or if the namespace is associated with an XDR schema.

See Also