MSDN Library

IMarkupServices::InsertElement Method

Inserts an element between the target pointers.

Syntax


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

Parameters

pElementInsert
[in] Pointer to an IHTMLElement interface that specifies the element to insert.
pPointerStart
[in] Pointer to an IMarkupPointer interface that specifies the start point of insertion.
pPointerFinish
[in] Pointer to an IMarkupPointer interface that specifies the end point of insertion.

Return Value

Returns S_OK if successful, or an error value otherwise.

See Also

Community Additions

Show:
© 2016 Microsoft