## XmlTextWriter::WriteComment method


Writes out a comment **** containing the specified text.

```cpp
void System::Xml::XmlTextWriter::WriteComment(String text) override
```


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

## See Also

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