## XmlDocument::CreateComment method


指定されたデータを含む [XmlComment](../../xmlcomment/) を作成します。

```cpp
virtual SharedPtr<XmlComment> System::Xml::XmlDocument::CreateComment(const String &data)
```


| パラメーター | 型 | 説明 |
| --- | --- | --- |
| data | const String\& | 新しい [XmlComment](../../xmlcomment/) の内容です。 |

### ReturnValue

新しい [XmlComment](../../xmlcomment/) です。

## 参照

* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [XmlComment](../../xmlcomment/)
* Class [String](../../../system/string/)
* Class [XmlDocument](../)
* Namespace [System::Xml](../../)
* Library [Aspose.Page for C++](../../../)
