IVsWindowSearchHost Interface

Sets up a search control.

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)

[InterfaceTypeAttribute(ComInterfaceType.InterfaceIsIUnknown)]
[GuidAttribute("576DEAF2-B527-4345-9A4B-BDAB6426FE03")]
public interface IVsWindowSearchHost

The IVsWindowSearchHost type exposes the following members.

  NameDescription
Public propertyHelpTopicGets or sets the help topic associated with the search control.
Public propertyIsEnabledGets or sets whether the search control has been enabled or disabled.
Public propertyIsPopupVisibleGets or sets whether to show or hide the search control's popup (if the search control has settings requiring a popup, such as MRU, options, or filters).
Public propertyIsVisibleGets or sets whether to show or hide the search control.
Public propertySearchEventsGets the search events callback once the search has been set up with the host.
Public propertySearchObjectGets the search object once the search has been set up with the host.
Public propertySearchQueryGets the current search query that resulted from the parsing the current text in the search control.
Public propertySearchQueryParserGets the search query parser used by the search host to create the search queries from search strings typed by the user.
Public propertySearchTaskGets the current search task if a search is in progress.
Top

  NameDescription
Public methodActivateSets focus to the search control.
Public methodSearchAsyncSets the search query and begins a search. If the query is null, the search is stopped if it had already started.
Public methodSetupSearchAssociates the search host control with the window search provider.
Public methodTerminateSearchDisassociates the search host control from the window search provider, and releases resources used by the search.
Top
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft