## XmlDocument::CreateTextNode method


Создаёт [XmlText](../../xmltext/) с указанным текстом.

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


| Параметр | Тип | Описание |
| --- | --- | --- |
| text | const String\& | Текст для узла [Text](../../../system.text/). |

### ReturnValue

Новый узел [XmlText](../../xmltext/).

## См. также

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