Click to return to the XML (Extensible Markup Language) home page    
IXMLDOMCharacterData::len...     IXMLDOMCharacterData::sub...     IXMLDOMCharacterData Inte...    
Web Workshop  |  XML (Extensible Markup Language)

IXMLDOMCharacterData::replaceData Method


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. 

 



Back to topBack to top

Did you find this topic useful? Suggestions for other topics? Write us!

© 1999 Microsoft Corporation. All rights reserved. Terms of use.