System::Xml::Schema::XmlSchemaCollection::Contains metod
Innehåll
[
Dölj
]XmlSchemaCollection::Contains(const SharedPtr<XmlSchema>&) method
Returnerar ett värde som indikerar om targetNamespace för den angivna XmlSchema finns i samlingen.
bool System::Xml::Schema::XmlSchemaCollection::Contains(const SharedPtr<XmlSchema> &schema)
| Parameter | Type | Beskrivning |
|---|---|---|
| schema | const SharedPtr<XmlSchema>& | XmlSchema‑objektet. |
ReturnValue
true if there is a schema in the collection with the same targetNamespace; otherwise, false.
Se även
- Typedef SharedPtr
- Class XmlSchema
- Class XmlSchemaCollection
- Namespace System::Xml::Schema
- Library Aspose.Page for C++
XmlSchemaCollection::Contains(const String&) method
Returnerar ett värde som indikerar om ett schema med den angivna namnrymden finns i samlingen.
bool System::Xml::Schema::XmlSchemaCollection::Contains(const String &ns)
| Parameter | Type | Beskrivning |
|---|---|---|
| ns | const String& | Namnutrymmet URI som är associerat med schemat. För XML-scheman kommer detta vanligtvis att vara mål‑namnutrymmet. |
ReturnValue
true if a schema with the specified namespace is in the collection; otherwise, false.
Se även
- Class String
- Class XmlSchemaCollection
- Namespace System::Xml::Schema
- Library Aspose.Page for C++