## XmlDeclaration::set_Encoding method


设置 XML 文档的编码级别。

```cpp
void System::Xml::XmlDeclaration::set_Encoding(const String &value)
```


| 参数 | 类型 | 描述 |
| --- | --- | --- |
| 值 | const String\& | 要设置的值。 |

## 另见

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