Creates a CDATA section that contains the specified text.
HRESULT createCDATASection( BSTR text, IHTMLDOMNode **newCDATASectionNode );
- [in] A BSTR value that contains the text to place inside the CDATA section.
- [out, retval] The address of a pointer to an IHTMLDOMNode interface that receives a reference to the CDATA section.
Returns one of the following values.
S_OK The operation completed successfully. W3CException_DOM_NOT_SUPPORTED_ERR The requested operation is not supported.
The IHTMLDocument7::createCDATASection method is supported only for XML documents.