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


Menunjukkan apakah objek [XmlSchema](../../xmlschema/) definisi bahasa XML [Schema](../../) (XSD) yang ditentukan berada dalam [XmlSchemaSet](../).

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


| Parameter | Tipe | Deskripsi |
| --- | --- | --- |
| schema | const SharedPtr\<XmlSchema\>\& | Objek [XmlSchema](../../xmlschema/). |

### ReturnValue

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

## Lihat Juga

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


Menunjukkan apakah skema XML [Schema](../../) definisi bahasa (XSD) dengan URI namespace target yang ditentukan berada dalam [XmlSchemaSet](../).

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


| Parameter | Tipe | Deskripsi |
| --- | --- | --- |
| targetNamespace | String | Properti skema **targetNamespace**. |

### ReturnValue

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

## Lihat Juga

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