## XmlSchemaValidator::set_XmlResolver method


设置用于解析 **xs:import** 和 **xs:include** 元素以及 **xsi:schemaLocation** 和 **xsi:noNamespaceSchemaLocation** 属性的 [XmlResolver](../../../system.xml/xmlresolver/) 对象。

```cpp
void System::Xml::Schema::XmlSchemaValidator::set_XmlResolver(const SharedPtr<System::Xml::XmlResolver> &value)
```


| 参数 | 类型 | 描述 |
| --- | --- | --- |
| 值 | const SharedPtr\<System::Xml::XmlResolver\>\& | 要设置的值。 |

## 另见

* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [XmlResolver](../../../system.xml/xmlresolver/)
* Class [XmlSchemaValidator](../)
* Namespace [System::Xml::Schema](../../)
* Library [Aspose.Font for C++](../../../)
