Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
insertData
Collapse the table of content
Expand the table of content

insertData method

Inserts a new character string in the object at a specified offset.

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

 

Syntax


HRESULT retVal = object.insertData(offset, bstrstring);

Parameters

offset [in]

Type: long

long that specifies the offset from which to start.

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

IHTMLCommentElement3::insertData was introduced in Microsoft Internet Explorer 6

 

 

Community Additions

ADD
Show:
© 2015 Microsoft