## XmlDocument::CreateComment method


Crea un [XmlComment](../../xmlcomment/) contenente i dati specificati.

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


| Parametro | Tipo | Descrizione |
| --- | --- | --- |
| data | const String\& | Il contenuto del nuovo [XmlComment](../../xmlcomment/). |

### ReturnValue

Il nuovo [XmlComment](../../xmlcomment/).

## Vedi anche

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