Removes the given element without removing the content contained within it.
Syntax
HRESULT RemoveElement( IHTMLElement *pElementRemove );
Parameters
- pElementRemove
- Address of an IHTMLElement interface that returns the element to remove.
Return Value
Returns S_OK if successful, or an error code otherwise.
See Also
InsertElement