IHTMLControlRange::commonParentElement Method

Gets the interface to the first parent element that contains all the controls that are currently stored in this range and in its scope.

Syntax


HRESULT commonParentElement(
    IHTMLElement **parent
);

Parameters

parent
[out] A pointer to the IHTMLElement interface of the element.

Return Value

Returns S_OK if successful, or an error value otherwise.

Community Additions

Show: