Click to return to the Reusing Browser Technology home page    
IHTMLDocument3::get_dir M...     IHTMLDocument3::get_onbef...     IHTMLDocument3 Interface    
Web Workshop  |  Reusing Browser Technology

IHTMLDocument3::get_documentElement Method


Retrieves the document's root element.

Syntax

HRESULT get_documentElement(
    IHTMLElement **p
);

Parameters

rootElem
Address of a pointer to an IHTMLElement interface. When returned, this is the element object that represents the document.

Return Value

Returns S_OK if successful, or an error code otherwise.



Back to topBack to top

Did you find this topic useful? Suggestions for other topics? Write us!

© 1999 Microsoft Corporation. All rights reserved. Terms of use.