IVsSearchProvider Interface

Exposes a single search provider.

Namespace:  Microsoft.VisualStudio.Shell.Interop
Assemblies:   Microsoft.VisualStudio.Shell.11.0 (in Microsoft.VisualStudio.Shell.11.0.dll)
  Microsoft.VisualStudio.Shell.Interop.11.0 (in Microsoft.VisualStudio.Shell.Interop.11.0.dll)


<GuidAttribute("E85FDFC2-A874-4871-88A3-A2E904183A05")> _
<InterfaceTypeAttribute(ComInterfaceType.InterfaceIsIUnknown)> _
Public Interface IVsSearchProvider
public interface IVsSearchProvider
public interface class IVsSearchProvider
type IVsSearchProvider =  interface end
public interface IVsSearchProvider

The IVsSearchProvider type exposes the following members.


  Name Description
Public property Category Gets an identifier for the search provider.
Public property Description Gets a description of the provider results, for example "Searches top-level menu items."
Public property DisplayText Gets a displayable name for the search provider, for example "Menu items."
Public property 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".
Public property 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".



  Name Description
Public method CreateItemResult Creates a new instance of a search result from a persistence string previously obtained by getting the value of the persistence data string.
Public method CreateSearch Creates a search task from the specified cookie and search query.
Public method ProvideSearchSettings Injects specialized settings into the data model associated with the command search provider.


See Also


Microsoft.VisualStudio.Shell.Interop Namespace