appendData Method (Compact 2013)

3/26/2014

Appends the supplied string to the existing string data.

Syntax

oXMLDOMCharacterData.appendData(data);
HRESULT appendData(  BSTR data);

Parameters

Script

  • data
    String containing the data that is to be appended to the existing string.

C/C++

  • data
    [in] String data to be appended to the existing string.

Return Value

Script

None.

C/C++

  • S_OK
    Value returned if successful.
  • S_FALSE
    Value returned if the string is not appended.
  • E_FAIL
    Value returned if an error occurs.

Remarks

The length Property (IXMLDOMCharacterData) is also updated by this operation.

This method applies to the following objects and interfaces:

IXMLDOMCDATASection, IXMLDOMCharacterData, IXMLDOMComment, and IXMLDOMText.

Requirements

Header

msxml2.h,
msxml2.idl

Library

uuid.lib

See Also

Reference

XML DOM Methods
length Property (IXMLDOMCharacterData)