## XmlWriter::WriteComment method


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

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


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

## 另见

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