Partager via


appendData Method

A version of this page is also available for

Windows Embedded CE 6.0 R3

4/8/2010

Appends the supplied string to the existing string data.

Script Syntax

oXMLDOMCharacterData.appendData(data);

Remarks

Script Parameters

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

Script Return Value

None.

C/C++ Syntax

HRESULT appendData(
  BSTR data
);

Remarks

C/C++ Parameters

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

C/C++ Return Values

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

Requirements

Header msxml2.h, msxml2.idl
Library uuid.lib
Windows Embedded CE Windows CE .NET 4.0 and later

General 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.

See Also

Concepts

length Property (IXMLDOMCharacterData)