Replaces the specified number of characters with the supplied string.
Visual Basic Syntax
oXMLDOMCharacterData.replaceData(offset, count, data)
C/C++ Syntax
HRESULT replaceData( long offset, long count, BSTR data);
Parameters
- offset
- [in] Offset, in characters, at which to start replacing string data.
- count
- [in] Number of characters to replace.
- data
- [in] New data that replaces the old string data.
C/C++ Return Values
- S_OK
- Value returned if successful.
- S_FALSE
- Value when returning null.
- E_FAIL
- Value returned if an error occurs.