共用方式為


IWebBrowser2::GoSearch Method

Navigates to the current search page.

Syntax

HRESULT GoSearch(VOID);

Return Value

Returns S_OK if successful, or an error value otherwise.

Remarks

The user can indicate the URL to use for the search page with 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. IWebBrowser2::GoSearch navigates to the default search provider. For more information, see Windows Search Guide.

See Also

IWebBrowser2::GoBack, IWebBrowser2::GoForward, IWebBrowser2::GoHome