Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

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:
© 2015 Microsoft