System::Xml::Schema::XmlSchemaCollection::Contains метод
Содержание
[
Скрывать
]XmlSchemaCollection::Contains(const SharedPtr<XmlSchema>&) method
Возвращает значение, указывающее, находится ли targetNamespace указанного XmlSchema в коллекции.
bool System::Xml::Schema::XmlSchemaCollection::Contains(const SharedPtr<XmlSchema> &schema)
| Параметр | Тип | Описание |
|---|---|---|
| schema | const SharedPtr<XmlSchema>& | Объект XmlSchema. |
ReturnValue
true if there is a schema in the collection with the same targetNamespace; otherwise, false.
См. также
- Typedef SharedPtr
- Class XmlSchema
- Class XmlSchemaCollection
- Namespace System::Xml::Schema
- Library Aspose.Font for C++
XmlSchemaCollection::Contains(const String&) method
Возвращает значение, указывающее, присутствует ли схема с указанным пространством имён в коллекции.
bool System::Xml::Schema::XmlSchemaCollection::Contains(const String &ns)
| Параметр | Тип | Описание |
|---|---|---|
| ns | const String& | URI пространства имён, связанный со схемой. Для XML-схем обычно это целевое пространство имён. |
ReturnValue
true if a schema with the specified namespace is in the collection; otherwise, false.
См. также
- Class String
- Class XmlSchemaCollection
- Namespace System::Xml::Schema
- Library Aspose.Font for C++