## XmlDocument::CreateComment method


Crea un [XmlComment](../../xmlcomment/) que contiene los datos especificados.

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


| Parámetro | Tipo | Descripción |
| --- | --- | --- |
| data | const String\& | El contenido del nuevo [XmlComment](../../xmlcomment/). |

### ReturnValue

El nuevo [XmlComment](../../xmlcomment/).

## Ver también

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