## XmlWriter::WriteComment method


在派生类中重写时，写出包含指定文本的注释 ****。

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


| 参数 | 类型 | 描述 |
| --- | --- | --- |
| text | String | [Text](../../../system.text/) 用于放置在注释内部。 |

## 另见

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