Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

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