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

IXMLDOMCharacterData::insertData Method


Inserts the supplied string at the specified offset.

Visual Basic Syntax

oXMLDOMCharacterData.insertData(offset, data)

C/C++ Syntax

HRESULT insertData(
    long offset,
    BSTR data);

Parameters

offset
[in] Offset, in characters, at which to insert the supplied string data.
data
[in] String data that is to be inserted into the existing string.

C/C++ Return Values

S_OK
Value returned if successful.
S_FALSE
Value when returning null. 
E_FAIL
Value returned if an error occurs.

Remarks

This operation also updates the length method.



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.