## XmlSchemaSet::RemoveRecursive method


从 [XmlSchemaSet](../) 中移除指定的 XML [Schema](../../) 定义语言 (XSD) 架构及其导入的所有架构。

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


| Parameter | Type | 描述 |
| --- | --- | --- |
| schemaToRemove | const SharedPtr\<XmlSchema\>\& | 要从 [XmlSchemaSet](../) 中移除的 [XmlSchema](../../xmlschema/) 对象。 |

### ReturnValue

**true** if the [XmlSchema](../../xmlschema/) object and all its imports were successfully removed; otherwise, **false**.

## 另见

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