WriteCData()
XmlTextWriter::WriteCData(String) method
Writes out a … block containing the specified text.
void System::Xml::XmlTextWriter::WriteCData(String text) override
Arguments
| Parameter | Type | Description |
|---|---|---|
| text | String | Text to place inside the CDATA block. |
Exceptions
| Exception | Description |
|---|---|
| ArgumentException | The text would result in a non-well formed XML document. |
| InvalidOperationException | The XmlTextWriter::get_WriteState value is WriteState::Closed. |
See Also
- Class String
- Class XmlTextWriter
- Namespace System::Xml
- Library Aspose.Slides