Method WriteCData
- Namespace
- Alternet.FormDesigner.Wpf.XamlDom
- Assembly
- Alternet.FormDesigner.Wpf.v10.dll
WriteCData(string)
When overridden in a derived class, writes out a <![CDATA[...]]> block containing the specified text.
public override void WriteCData(string text)
Parameters
text
stringThe text to place inside the CDATA block.
Exceptions
- ArgumentException
The text would result in a non-well formed XML document.
- InvalidOperationException
An XmlWriter method was called before a previous asynchronous operation finished. In this case, InvalidOperationException is thrown with the message “An asynchronous operation is already in progress.”