Share via


IWebBrowser2::Container Property

Gets an object reference to a container.

Syntax

HRESULT IWebBrowser2::get_Container(IDispatch **ppDisp);

Parameters

  • ppDisp
    Address of a pointer to a variable of type IDispatch interface that receives the reference to the container.

Return Value

Returns one of the following values.

S_OK The operation completed successfully.
E_FAIL The operation failed.
E_NOINTERFACE No such interface is supported.

Remarks

This property returns the same automation object as IWebBrowser2::get_Parent.

See Also

IWebBrowser2::get_Application, IWebBrowser2::get_Document, IWebBrowser2::get_Parent