## XmlNode::WriteContentTo method


Saves all the child nodes of the node to the specified [XmlWriter](../../xmlwriter/), when overridden in a derived class.

```cpp
virtual void System::Xml::XmlNode::WriteContentTo(const SharedPtr<XmlWriter> &w)=0
```


| Parameter | Type | Description |
| --- | --- | --- |
| w | const SharedPtr\<XmlWriter\>\& | The [XmlWriter](../../xmlwriter/) to which you want to save. |

## See Also

* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [XmlWriter](../../xmlwriter/)
* Class [XmlNode](../)
* Namespace [System::Xml](../../)
* Library [Aspose.PDF for C++](../../../)
