IHTMLWindow2::navigate Method

Loads the specified URL to the current window.

Syntax

HRESULT navigate(
    BSTR url
);

Parameters

  • url
    [in] BSTR that specifies the URL to display.

Return Value

Returns S_OK if successful, or an error value otherwise.

See Also

IHTMLLocation::href