IHTMLWindow2::navigator Property

Retrieves an interface pointer to a navigator object that represents the browser.

Syntax

HRESULT IHTMLWindow2::get_navigator(IOmNavigator **p);

Parameters

  • p
    Address of a pointer to a variable of type IOmNavigator interface that receives the navigator object.

Return Value

Returns S_OK if successful, or an error value otherwise.

Remarks

The object provides information about the browser.