Export (0) Print
Expand All

createCDATASection method

Creates a CDATA section that contains the specified text.

Document Object Model (DOM) Level 3 Core Specification, Section 1.4Internet Explorer 9

 

Syntax


HRESULT retVal = object.createCDATASection(text, newCDATASectionNode);

Parameters

text [in]

Type: BSTR

A BSTR value that contains the text to place inside the CDATA section.

newCDATASectionNode [out, retval]

Type: IHTMLDOMNode

The 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 codeDescription
S_OK

The operation completed successfully.

 

Standards information

Remarks

The IHTMLDocument7::createCDATASection method is supported only for XML documents.

 

 

Community Additions

ADD
Show:
© 2014 Microsoft