Replaces a specified range of characters in the object with a new character string.
HRESULT replaceData( long offset, long Count, BSTR bstrstring );
- [in] long that specifies the offset from which to start.
- [in] long that specifies the number of characters to replace.
- [in] BSTR that specifies the new character string.
Returns S_OK if successful, or an error value otherwise.
If the sum of the offset and Count parameters exceeds the number of characters in the object, then all the characters to the end of the data are replaced.
IHTMLCommentElement3::replaceData was introduced in Microsoft Internet Explorer 6