Compartir a través de


deleteData Method (Windows CE 5.0)

Send Feedback

Deletes specified data.

[Script]

Script Syntax

oXMLDOMCharacterData.deleteData(offset,count);

Script Parameters

  • offset
    Long integer value specifying the offset, in characters, at which to start deleting string data.
  • count
    Long integer value specifying the number of characters to delete.

Script Return Value

None.

[C/C++]

C/C++ Syntax

HRESULT deleteData(longoffset,longcount);

C/C++ Parameters

  • offset
    [in] Offset, in characters, at which to start deleting string data.
  • count
    [in] Number of characters to delete.

C/C++ Return Values

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

Requirements

OS Versions: Windows CE .NET 4.0 and later.
Header: Msxml2.h, Msxml2.idl.
Link Library: Uuid.lib.

General Remarks

If the offset and count of characters specify a range beyond the end of the string, this method deletes only to the end of the string.

The length property for IXMLDOMNodeList is updated by this operation.

This method applies to the following objects and interfaces:

IXMLDOMCDATASection, IXMLDOMCharacterData, IXMLDOMComment, and IXMLDOMText.

See Also

length Property (IXMLDOMNodeList)

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.