IXMLDOMSelection::clone Method
Produces an exact copy of the current XMLDOMSelection object, with the same position and context.
Visual Basic Syntax
Set NewObjXMLDOMSelection = objXMLDOMSelection.clone
C/C++ Syntax
HRESULT clone(IXMLDOMSelection ** ppSelection);
Parameters
- ppSelection [out]
- The returned copy of the XMLDOMSelection object.
C/C++ Return Values
- S_OK
- Value returned if the cloning is successful.
- E_INVALIDARG
- Value returned if the input argument is NULL.
See Also
IXMLDOMSelection Interface