Поделиться через


Scope

Scope specifies a search provider.

Child Elements

ScopeDefault

Specifies whether the Scope item is the default search provider.

ScopeDisplayName

Specifies the display name for the search provider.

ScopeKey

Specifies the unique string for the search provider.

ScopeUrl

Specifies the URL for the search provider.

Valid Passes

specialize

Parent Hierarchy

Microsoft-Windows-IE-InternetExplorer | SearchScopes | Scope

Applies To

For the list of the supported Windows editions and architectures that this component supports, see Microsoft-Windows-IE-InternetExplorer.

This setting is available to OEMs and system builders.

XML Example

The following XML output shows how to set search providers.

<SearchScopes>
   <Scope wcm:action="add">
      <ScopeDefault>true</ScopeDefault>
      <ScopeDisplayName>MyFirstSearchProvider</ScopeDisplayName>
      <ScopeKey>SearchProvider1</ScopeKey>
      <ScopeUrl>http://www.fabrikam.com</ScopeUrl>
   </Scope>
   <Scope wcm:action="add">
      <ScopeDisplayName>MySecondSearchProvider</ScopeDisplayName>
      <ScopeKey>SearchProvider2</ScopeKey>
      <ScopeUrl>https://www.contoso.com</ScopeUrl>
   </Scope>
</SearchScopes>

See Also

Concepts

SearchScopes