## XmlDocument::CreateTextNode method


Crea un [XmlText](../../xmltext/) con el texto especificado.

```cpp
virtual SharedPtr<XmlText> System::Xml::XmlDocument::CreateTextNode(const String &text)
```


| Parámetro | Tipo | Descripción |
| --- | --- | --- |
| text | const String\& | El texto para el nodo [Text](../../../system.text/). |

### ReturnValue

El nuevo nodo [XmlText](../../xmltext/).

## Ver también

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