replaceData Method (Compact 2013)
3/26/2014
Replaces the specified number of characters with the supplied string.
Syntax
oXMLDOMCharacterData.replaceData(offset, count, data);
HRESULT replaceData( long offset, long count, BSTR data);
Parameters
Script
- offset
Long integer value specifying the offset, in characters, at which to start replacing string data.
- count
Long integer value specifying the number of characters to replace.
- data
String containing the new data that replaces the old string data.
C/C++
- 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.
Return Value
Script
None.
C/C++
- S_OK
Value returned if successful.
- S_FALSE
Value when returning Null.
- E_FAIL
Value returned if an error occurs.
Remarks
This method applies to the following objects and interfaces:
IXMLDOMCDATASection, IXMLDOMCharacterData, IXMLDOMComment, and IXMLDOMText.
Requirements
Header |
msxml2.h, |
Library |
uuid.lib |