System::Xml::Schema::XmlSchemaCollection::Contains método
Contenido
[
Ocultar
]XmlSchemaCollection::Contains(const SharedPtr<XmlSchema>&) method
Devuelve un valor que indica si el targetNamespace del XmlSchema especificado está en la colección.
bool System::Xml::Schema::XmlSchemaCollection::Contains(const SharedPtr<XmlSchema> &schema)
| Parámetro | Tipo | Descripción |
|---|---|---|
| schema | const SharedPtr<XmlSchema>& | El objeto XmlSchema. |
ReturnValue
true if there is a schema in the collection with the same targetNamespace; otherwise, false.
Ver también
- Typedef SharedPtr
- Class XmlSchema
- Class XmlSchemaCollection
- Namespace System::Xml::Schema
- Library Aspose.Page for C++
XmlSchemaCollection::Contains(const String&) method
Devuelve un valor que indica si un esquema con el espacio de nombres especificado está en la colección.
bool System::Xml::Schema::XmlSchemaCollection::Contains(const String &ns)
| Parámetro | Tipo | Descripción |
|---|---|---|
| ns | const String& | El URI del espacio de nombres asociado con el esquema. Para los XML Schemas, típicamente será el espacio de nombres objetivo. |
ReturnValue
true if a schema with the specified namespace is in the collection; otherwise, false.
Ver también
- Class String
- Class XmlSchemaCollection
- Namespace System::Xml::Schema
- Library Aspose.Page for C++