## XmlSchemaSet::Remove method


Removes the specified XML [Schema](../../) definition language (XSD) schema from the [XmlSchemaSet](../).

```cpp
SharedPtr<XmlSchema> System::Xml::Schema::XmlSchemaSet::Remove(const SharedPtr<XmlSchema> &schema)
```


| Parameter | Type | Description |
| --- | --- | --- |
| schema | const SharedPtr\<XmlSchema\>\& | The [XmlSchema](../../xmlschema/) object to remove from the [XmlSchemaSet](../). |

### ReturnValue

The [XmlSchema](../../xmlschema/) object removed from the [XmlSchemaSet](../) or **nullptr** if the schema was not found in the [XmlSchemaSet](../).

## See Also

* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [XmlSchema](../../xmlschema/)
* Class [XmlSchemaSet](../)
* Namespace [System::Xml::Schema](../../)
* Library [Aspose.PDF for C++](../../../)
