## XmlWriter::WriteComment method


When overridden in a derived class, writes out a comment **** containing the specified text.

```cpp
virtual void System::Xml::XmlWriter::WriteComment(String text)=0
```


| Parameter | Type | Description |
| --- | --- | --- |
| text | String | [Text](../../../system.text/) to place inside the comment. |

## See Also

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