## XmlDocument::CreateWhitespace method


Crea un nodo [XmlWhitespace](../../xmlwhitespace/).

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


| Parámetro | Tipo | Descripción |
| --- | --- | --- |
| text | const String\& | La cadena debe contener solo los siguientes caracteres **'\x20'**, **'\x0d'**, **'\x0a'**, **'\x09'**. |

### ReturnValue

Un nuevo nodo [XmlWhitespace](../../xmlwhitespace/).

## Ver también

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