## XmlComment::WriteTo method


Saves the node to the specified [XmlWriter](../../xmlwriter/).

```cpp
void System::Xml::XmlComment::WriteTo(const SharedPtr<XmlWriter> &w) override
```


| 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 [XmlComment](../)
* Namespace [System::Xml](../../)
* Library [Aspose.PDF for C++](../../../)
