Windows apps
Collapse the table of content
Expand the table of content

IHTMLDocument2::body Property

Gets an interface pointer to the document body object.

Syntax


HRESULT IHTMLDocument2::get_body(IHTMLElement **p);

Parameters

p
Address of a pointer to a variable of type IHTMLElement interface that receives the body object.

Return Value

Returns S_OK if successful, or an error value otherwise.

Community Additions

Show:
© 2017 Microsoft