Click to return to the Reusing Browser Technology home page    
IMarkupServices::BeginUnd...     IMarkupServices::Copy Met...     IMarkupServices Interface    
Web Workshop  |  Reusing Browser Technology

IMarkupServices::CloneElement Method


Creates a duplicate of an element.

Syntax

HRESULT CloneElement(
    IHTMLElement *pElemCloneThis,
    IHTMLElement **ppElementTheClone
);

Parameters

pElemCloneThis
Address of an IHTMLElement interface that returns the element to clone.
ppElementTheClone
Address of a pointer to an IHTMLElement interface that returns the newly created element.

Return Value

Returns S_OK if successful, or an error code otherwise.

See Also

CreateElement


Back to topBack to top

Did you find this topic useful? Suggestions for other topics? Write us!

© 1999 Microsoft Corporation. All rights reserved. Terms of use.