createCDATASection method
[This documentation is preliminary and is subject to change.]
Creates a CDATA section that contains the specified text.
![]() ![]() |
Syntax
HRESULT retVal = object.createCDATASection(text, );
Standards information
Parameters
text [in]
Type: BSTRA BSTR value that contains the text to place inside the CDATA section.
newCDATASectionNode [out, retval]
Type: IHTMLDOMNodeThe address of a pointer to an IHTMLDOMNode interface that receives a reference to the CDATA section.
Return value
Type: HRESULT
This method can return one of these values.
| Return code | Description |
|---|---|
| S_OK | The operation completed successfully. |
Remarks
The createCDATASection method is supported only for XML documents.
Build date: 1/26/2012
.png)
.png)