Click to return to the Reusing Browser Technology home page    
IMarkupServices::GetTagID...     IMarkupServices::InsertTe...     IMarkupServices Interface    
Web Workshop  |  Reusing Browser Technology

IMarkupServices::InsertElement Method


Inserts an element between the target pointers.

Syntax

HRESULT InsertElement(
    IHTMLElement *pElementInsert,
    IMarkupPointer *pPointerStart,
    IMarkupPointer *pPointerFinish
);

Parameters

pElementInsert
Address of an IHTMLElement interface that returns the element to insert.
pPointerStart
Address of an IMarkupPointer interface that specifies the start point of insertion.
pPointerFinish
Address of an IMarkupPointer interface that specifies the end point of insertion.

Return Value

Returns S_OK if successful, or an error code otherwise.

See Also

InsertText, RemoveElement


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.