Partager via


clone Method (Windows Embedded CE 6.0)

1/6/2010

Clones a copy of the current IXMLDOMSelection, with the same position and context.

Script Syntax

var NewObjXMLDOMSelection = objXMLDOMSelection.clone();

Remarks

Ee503534.collapse(en-US,WinEmbedded.60).gifScript Parameters

None

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

Object. Returns a copy of the IXMLDOMSelection object

C/C++ Syntax

HRESULT clone(
  IXMLDOMSelection** ppNode
);

Remarks

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

Ee503534.collapse(en-US,WinEmbedded.60).gifC/C++ Return Value

  • S_OK
    Value returned if the cloning is successful.
  • E_INVALIDARG
    Value returned if the input argument is Null.

Ee503534.collapse(en-US,WinEmbedded.60).gifC/C++ Requirements

OS Versions: Windows CE .NET 4.0 and later.

Header: Msxml2.h, Msxml2.idl.

Link Library: Uuid.lib

General Remarks

This method applies to the following interface:

IXMLDOMSelection.

See Also

Reference

XML DOM Methods