ShowSearchSuggestions

ShowSearchSuggestions 會指定是否要在 Windows Internet Explorer 中顯示搜尋建議。

顯示 [搜尋建議] 時,當使用者在 [Internet Explorer 搜尋] 方塊中輸入搜尋時,會在搜尋方塊下方顯示一個功能表,並顯示建議。

true

指定顯示 [搜尋建議]。

這是預設值。

false

指定不會顯示搜尋建議。

有效的設定階段

特殊化

父階層

Microsoft-Windows-IE-InternetExplorer | SearchScopes | 範圍 | ShowSearchSuggestions

套用至

如需此元件支援的 Windows 版本和架構清單,請參閱 Microsoft-Windows-IE-InternetExplorer

XML 範例

下列 XML 輸出顯示如何隱藏搜尋建議。

<SearchScopes>
   <Scope wcm:action="add">
      <ScopeDefault>true</ScopeDefault>
      <ScopeDisplayName>MyFirstSearchProvider</ScopeDisplayName>
      <ScopeKey>SearchProvider1</ScopeKey>
      <ScopeUrl>http://www.contoso.com/search?q={searchTerms}</ScopeUrl>
      <ShowSearchSuggestions>false</ShowSearchSuggestions>
   </Scope>
   <Scope wcm:action="add">
      <ScopeDisplayName>MySecondSearchProvider</ScopeDisplayName>
      <ScopeKey>SearchProvider2</ScopeKey>
      <ScopeUrl>http://search.fabrikam.com/results.aspx?q=&quot;{searchTerms}&quot;</ScopeUrl>
      <ShowSearchSuggestions>false</ShowSearchSuggestions>
   </Scope>
</SearchScopes>

Microsoft-Windows-IE-InternetExplorer