IVsSearchProvider Interface

 

Exposes a single search provider.

Namespace:   Microsoft.VisualStudio.Shell.Interop
Assembly:  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

NameDescription
System_CAPS_pubpropertyCategory

Gets an identifier for the search provider.

System_CAPS_pubpropertyDescription

Gets a description of the provider results, for example "Searches top-level menu items."

System_CAPS_pubpropertyDisplayText

Gets a displayable name for the search provider, for example "Menu items."

System_CAPS_pubpropertyShortcut

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".

System_CAPS_pubpropertyTooltip

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".

NameDescription
System_CAPS_pubmethodCreateItemResult(String)

Creates a new instance of a search result from a persistence string previously obtained by getting the value of the persistence data string.

System_CAPS_pubmethodCreateSearch(UInt32, IVsSearchQuery, IVsSearchProviderCallback)

Creates a search task from the specified cookie and search query.

System_CAPS_pubmethodProvideSearchSettings(IVsUIDataSource)

Injects specialized settings into the data model associated with the command search provider.

Return to top
Show: