共用方式為


IWebBrowser2::GoHome Method

Navigates to the current home or start page.

Syntax

HRESULT GoHome(VOID);

Return Value

Returns S_OK if successful, or an error value otherwise.

Remarks

The user can indicate the URL to use for the home page from the Internet Options dialog box, which is accessible from the Tools menu of Windows Internet Explorer, or in the Control Panel.

Internet Explorer 7 and later. This method navigates to the first URL in the home tabs group.

See Also

IWebBrowser2::GoBack, IWebBrowser2::GoForward, IWebBrowser2::GoSearch