System::Xml::Schema::XmlSchemaCollection::Contains Methode
Inhalt
[
Ausblenden
]XmlSchemaCollection::Contains(const SharedPtr<XmlSchema>&) method
Gibt einen Wert zurück, der angibt, ob das targetNamespace des angegebenen XmlSchema in der Sammlung enthalten ist.
bool System::Xml::Schema::XmlSchemaCollection::Contains(const SharedPtr<XmlSchema> &schema)
| Parameter | Typ | Beschreibung |
|---|---|---|
| schema | const SharedPtr<XmlSchema>& | Das XmlSchema-Objekt. |
ReturnValue
true if there is a schema in the collection with the same targetNamespace; otherwise, false.
Siehe auch
- Typedef SharedPtr
- Class XmlSchema
- Class XmlSchemaCollection
- Namespace System::Xml::Schema
- Library Aspose.Font for C++
XmlSchemaCollection::Contains(const String&) method
Gibt einen Wert zurück, der angibt, ob ein Schema mit dem angegebenen Namespace in der Sammlung enthalten ist.
bool System::Xml::Schema::XmlSchemaCollection::Contains(const String &ns)
| Parameter | Typ | Beschreibung |
|---|---|---|
| ns | const String& | Der Namespace-URI, der dem Schema zugeordnet ist. Für XML Schemas ist dies typischerweise das Ziel-Namespace. |
ReturnValue
true if a schema with the specified namespace is in the collection; otherwise, false.
Siehe auch
- Class String
- Class XmlSchemaCollection
- Namespace System::Xml::Schema
- Library Aspose.Font for C++