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

XmlSchemaCollection::idx_get method

返回与给定命名空间 URI 关联的 XmlSchema

SharedPtr<XmlSchema> System::Xml::Schema::XmlSchemaCollection::idx_get(const String &ns)
ParameterType描述
nsconst String&与您想要返回的模式关联的命名空间 URI。通常它是模式的 targetNamespace

ReturnValue

与该命名空间 URI 关联的 XmlSchema;如果没有加载的模式与给定命名空间关联,或该命名空间与 XDR 模式关联,则为 nullptr

另见