Exposes a single search provider.
Namespace:  Microsoft.VisualStudio.Shell.Interop
Assemblies:   Microsoft.VisualStudio.Shell.12.0 (in Microsoft.VisualStudio.Shell.12.0.dll)
  Microsoft.VisualStudio.Shell.Interop.11.0 (in Microsoft.VisualStudio.Shell.Interop.11.0.dll)
Syntax
'Declaration
<GuidAttribute("E85FDFC2-A874-4871-88A3-A2E904183A05")> _
<InterfaceTypeAttribute(ComInterfaceType.InterfaceIsIUnknown)> _
Public Interface IVsSearchProvider
[GuidAttribute("E85FDFC2-A874-4871-88A3-A2E904183A05")]
[InterfaceTypeAttribute(ComInterfaceType.InterfaceIsIUnknown)]
public interface IVsSearchProvider
[GuidAttribute(L"E85FDFC2-A874-4871-88A3-A2E904183A05")]
[InterfaceTypeAttribute(ComInterfaceType::InterfaceIsIUnknown)]
public interface class IVsSearchProvider
[<GuidAttribute("E85FDFC2-A874-4871-88A3-A2E904183A05")>]
[<InterfaceTypeAttribute(ComInterfaceType.InterfaceIsIUnknown)>]
type IVsSearchProvider =  interface end
public interface IVsSearchProvider
The IVsSearchProvider type exposes the following members.
Properties
| Name | Description | |
|---|---|---|
| .gif) | Category | Gets an identifier for the search provider. | 
| .gif) | Description | Gets a description of the provider results, for example "Searches top-level menu items." | 
| .gif) | DisplayText | Gets a displayable name for the search provider, for example "Menu items." | 
| .gif) | Shortcut | Gets a unique category shortcut that can be used in filtering the results from multiple providers. For example, searching for "@cmd" only returns search results from the provider with category shortcut "cmd". | 
| .gif) | Tooltip | Gets a tooltip for the provider. The tooltip is displayed when it appears in the Global Search UI instead of "Show results from this category only". | 
Top
Methods
| Name | Description | |
|---|---|---|
| .gif) | CreateItemResult | Creates a new instance of a search result from a persistence string previously obtained by getting the value of the persistence data string. | 
| .gif) | CreateSearch | Creates a search task from the specified cookie and search query. | 
| .gif) | ProvideSearchSettings | Injects specialized settings into the data model associated with the command search provider. | 
Top