## XmlDocument::CreateComment method


يُنشئ [XmlComment](../../xmlcomment/) يحتوي على البيانات المحددة.

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


| Parameter | Type | الوصف |
| --- | --- | --- |
| 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++](../../../)
