## XmlSchemaSet::Contains(const SharedPtr\<XmlSchema\>\&) method


Geeft aan of het opgegeven XML [Schema](../../) definitietaal (XSD) [XmlSchema](../../xmlschema/) object zich in de [XmlSchemaSet](../) bevindt.

```cpp
bool System::Xml::Schema::XmlSchemaSet::Contains(const SharedPtr<XmlSchema> &schema)
```


| Parameter | Type | Beschrijving |
| --- | --- | --- |
| schema | const SharedPtr\<XmlSchema\>\& | Het [XmlSchema](../../xmlschema/) object. |

### ReturnValue

**true** if the [XmlSchema](../../xmlschema/) object is in the [XmlSchemaSet](../); otherwise, **false**.

## Zie ook

* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [XmlSchema](../../xmlschema/)
* Class [XmlSchemaSet](../)
* Namespace [System::Xml::Schema](../../)
* Library [Aspose.Page for C++](../../../)
## XmlSchemaSet::Contains(String) method


Geeft aan of een XML [Schema](../../) definitietaal (XSD) schema met de opgegeven target-namespace-URI zich in de [XmlSchemaSet](../) bevindt.

```cpp
bool System::Xml::Schema::XmlSchemaSet::Contains(String targetNamespace)
```


| Parameter | Type | Beschrijving |
| --- | --- | --- |
| targetNamespace | String | De **targetNamespace**-eigenschap van het schema. |

### ReturnValue

**true** if a schema with the specified target namespace URI is in the [XmlSchemaSet](../); otherwise, **false**.

## Zie ook

* Class [String](../../../system/string/)
* Class [XmlSchemaSet](../)
* Namespace [System::Xml::Schema](../../)
* Library [Aspose.Page for C++](../../../)
