다음을 통해 공유


deleteData Method (Windows Embedded CE 6.0)

1/6/2010

Deletes specified data.

Script Syntax

oXMLDOMCharacterData.deleteData(offset, count);

Remarks

Ee502062.collapse(en-US,WinEmbedded.60).gifScript 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.

Ee502062.collapse(en-US,WinEmbedded.60).gifScript Return Value

None.

Ee502062.collapse(en-US,WinEmbedded.60).gifC/C++ Syntax

HRESULT deleteData(
  long offset,
  long count
);

Remarks

Ee502062.collapse(en-US,WinEmbedded.60).gifC/C++ Parameters

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

Ee502062.collapse(en-US,WinEmbedded.60).gifC/C++ Return Values

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

Ee502062.collapse(en-US,WinEmbedded.60).gifRequirements

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

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 (IXMLDOMNodeList) for IXMLDOMNodeList is updated by this operation.

This method applies to the following objects and interfaces:

IXMLDOMCDATASection, IXMLDOMCharacterData, IXMLDOMComment, and IXMLDOMText.

See Also

Reference

XML DOM Methods

Other Resources