System::Xml::Schema::XmlSchemaCollection::Contains метод

XmlSchemaCollection::Contains(const SharedPtr<XmlSchema>&) method

Возвращает значение, указывающее, находится ли targetNamespace указанного XmlSchema в коллекции.

bool System::Xml::Schema::XmlSchemaCollection::Contains(const SharedPtr<XmlSchema> &schema)
ПараметрТипОписание
schemaconst SharedPtr<XmlSchema>&Объект XmlSchema.

ReturnValue

true if there is a schema in the collection with the same targetNamespace; otherwise, false.

См. также

XmlSchemaCollection::Contains(const String&) method

Возвращает значение, указывающее, присутствует ли схема с указанным пространством имён в коллекции.

bool System::Xml::Schema::XmlSchemaCollection::Contains(const String &ns)
ПараметрТипОписание
nsconst String&URI пространства имён, связанный со схемой. Для XML-схем обычно это целевое пространство имён.

ReturnValue

true if a schema with the specified namespace is in the collection; otherwise, false.

См. также