IMarkupServices::RemoveElement Method

Removes the given element without removing the content contained within it.

Syntax


HRESULT RemoveElement(
    IHTMLElement *pElementRemove
);

Parameters

pElementRemove
Pointer to an IHTMLElement interface that returns the element to remove.

Return Value

Returns S_OK if successful, or an error value otherwise.

See Also

IMarkupServices::InsertElement

Community Additions

Show: