createComment method
[This documentation is preliminary and is subject to change.]
Creates an IHTMLCommentElement2 interface with the specified data.
![]() |
Syntax
HRESULT retVal = object.createComment(bstrdata, );
Standards information
Parameters
bstrdata [in]
Type: BSTRA BSTR that sets the data property.
ppRetNode [out, retval]
Type: IHTMLDOMNodeA pointer variable that receives an IHTMLCommentElement2 pointer.
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
.png)