createComment method

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

Creates an IHTMLCommentElement2 interface with the specified data.

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

Syntax

HRESULT retVal = object.createComment(bstrdata, );

Standards information

Parameters

Return value

Type: HRESULT

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Remarks

createComment was introduced in Microsoft Internet Explorer 6.

 

 

Build date: 1/26/2012