## XmlEntity::WriteContentTo method


将节点的所有子节点保存到指定的 [XmlWriter](../../xmlwriter/)。对于 [XmlEntity](../) 节点，此方法无效。

```cpp
void System::Xml::XmlEntity::WriteContentTo(const SharedPtr<XmlWriter> &w) override
```


| 参数 | 类型 | 描述 |
| --- | --- | --- |
| w | const SharedPtr\<XmlWriter\>\& | 要保存到的 [XmlWriter](../../xmlwriter/)。 |

## 另见

* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [XmlWriter](../../xmlwriter/)
* Class [XmlEntity](../)
* Namespace [System::Xml](../../)
* Library [Aspose.Font for C++](../../../)
