Share via


appendData method

Adds a new character string to the end of the object.

 

Syntax

HRESULT retVal = object.appendData(bstrstring);

Parameters

  • bstrstring [in]
    Type: BSTR

    BSTR that specifies the new character string.

Return value

Type: HRESULT

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

Standards information

Remarks

IHTMLCommentElement2::appendData was introduced in Microsoft Internet Explorer 6