Compartir a través de


clone Method

A version of this page is also available for

Windows Embedded CE 6.0 R3

4/8/2010

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

Script Syntax

var NewObjXMLDOMSelection = objXMLDOMSelection.clone();

Remarks

Script Parameters

None

Script Return Value

Object. Returns a copy of the IXMLDOMSelection object

C/C++ Syntax

HRESULT clone(
  IXMLDOMSelection** ppNode
);

Remarks

C/C++ Parameters

C/C++ Return Value

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

C/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