Microsoft XML 2.5 SDK


 

IXMLDOMCharacterData Interface

[This is preliminary documentation and subject to change.]

This interface provides text manipulation methods that are used by several objects.

IXMLDOMCharacterData Methods

appendData Appends the supplied string to the existing string data.
data Contains this node's data, which depends on the node type.
deleteData Deletes the specified substring within the string data.
insertData Inserts the supplied string at the specified offset.
length Specifies the length, in characters, of the data.
replaceData Replaces the specified number of characters with the supplied string.
substringData Retrieves a substring of the full string from the specified range.

Remarks

The IXMLDOMCharacterData object does not directly correspond to any node type. Its methods are reused by the IXMLDOMText, IXMLDOMComment, and IXMLDOMCDATASection objects. These methods handle large amounts of text, including sizes larger than can be manipulated natively using string constructs.

Interface Information

Implementation Msxml.dll
Inherits from IXMLDOMNode
Header and IDL files Msxml.h, Xmldom.idl
Minimum availability Internet Explorer 5
Minimum operating systems Windows 95, Windows NT 4.0