DocumentCreateCDATASection Method |
Creates a CDATASection node whose value is the specified string.
Namespace: Aspose.Html.DomAssembly: Aspose.HTML (in Aspose.HTML.dll) Version: 22.5
Syntaxpublic CDATASection CreateCDATASection(
string data
)
Public Function CreateCDATASection (
data As String
) As CDATASection
public:
CDATASection^ CreateCDATASection(
String^ data
)
member CreateCDATASection :
data : string -> CDATASection
Parameters
- data
- Type: SystemString
The CDATA content.
Return Value
Type:
CDATASectionThe
CDATASection.
Examplesvar cdata = document.CreateCDATASection(data)
See Also