ScopeKey

ScopeKey 指定搜尋提供者的唯一字串。

Scope_key

指定搜尋提供者的唯一字串。

這種字串不支援空的元素。 請勿為這種字串建立空值。

有效的設定階段

特殊化

父階層

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

套用至

如需此元件支援的 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>
   </Scope>
   <Scope wcm:action="add">
      <ScopeDisplayName>MySecondSearchProvider</ScopeDisplayName>
      <ScopeKey>SearchProvider2</ScopeKey>
      <ScopeUrl>http://search.fabrikam.com/results.aspx?q=&quot;{searchTerms}&quot;</ScopeUrl>
   </Scope>
</SearchScopes>

範圍