## XmlDocument::CreateCDataSection method


Creates an [XmlCDataSection](../../xmlcdatasection/) containing the specified data.

```cpp
virtual SharedPtr<XmlCDataSection> System::Xml::XmlDocument::CreateCDataSection(const String &data)
```


| Parameter | Type | Description |
| --- | --- | --- |
| data | const String\& | The content of the new [XmlCDataSection](../../xmlcdatasection/). |

### ReturnValue

The new [XmlCDataSection](../../xmlcdatasection/).

## See Also

* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [XmlCDataSection](../../xmlcdatasection/)
* Class [String](../../../system/string/)
* Class [XmlDocument](../)
* Namespace [System::Xml](../../)
* Library [Aspose.PDF for C++](../../../)
