Compartir a través de


createComment method

Creates an IHTMLCommentElement2 interface with the specified IHTMLObjectElement4::data.

 

Syntax

HRESULT retVal = object.createComment(bstrdata, ppRetNode);

Parameters

Return value

Type: HRESULT

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

Standards information

Remarks

IHTMLDocument5::createComment was introduced in Microsoft Internet Explorer 6.