createCDATASection method

[This documentation is preliminary and is subject to change.]

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, );

Standards information

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 code Description
S_OK

The operation completed successfully.

 

Remarks

The createCDATASection method is supported only for XML documents.

 

 

Build date: 1/26/2012