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)
Syntax
'Declaration
<InterfaceTypeAttribute(ComInterfaceType.InterfaceIsIUnknown)> _
<GuidAttribute("576DEAF2-B527-4345-9A4B-BDAB6426FE03")> _
Public Interface IVsWindowSearchHost
[InterfaceTypeAttribute(ComInterfaceType.InterfaceIsIUnknown)]
[GuidAttribute("576DEAF2-B527-4345-9A4B-BDAB6426FE03")]
public interface IVsWindowSearchHost
[InterfaceTypeAttribute(ComInterfaceType::InterfaceIsIUnknown)]
[GuidAttribute(L"576DEAF2-B527-4345-9A4B-BDAB6426FE03")]
public interface class IVsWindowSearchHost
[<InterfaceTypeAttribute(ComInterfaceType.InterfaceIsIUnknown)>]
[<GuidAttribute("576DEAF2-B527-4345-9A4B-BDAB6426FE03")>]
type IVsWindowSearchHost =  interface end
public interface IVsWindowSearchHost
The IVsWindowSearchHost type exposes the following members.
Properties
| Name | Description | |
|---|---|---|
| .gif) | HelpTopic | Gets or sets the help topic associated with the search control. | 
| .gif) | IsEnabled | Gets or sets whether the search control has been enabled or disabled. | 
| .gif) | IsPopupVisible | Gets 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). | 
| .gif) | IsVisible | Gets or sets whether to show or hide the search control. | 
| .gif) | SearchEvents | Gets the search events callback once the search has been set up with the host. | 
| .gif) | SearchObject | Gets the search object once the search has been set up with the host. | 
| .gif) | SearchQuery | Gets the current search query that resulted from the parsing the current text in the search control. | 
| .gif) | SearchQueryParser | Gets the search query parser used by the search host to create the search queries from search strings typed by the user. | 
| .gif) | SearchTask | Gets the current search task if a search is in progress. | 
Top
Methods
| Name | Description | |
|---|---|---|
| .gif) | Activate | Sets focus to the search control. | 
| .gif) | SearchAsync | Sets the search query and begins a search. If the query is null, the search is stopped if it had already started. | 
| .gif) | SetupSearch | Associates the search host control with the window search provider. | 
| .gif) | TerminateSearch | Disassociates the search host control from the window search provider, and releases resources used by the search. | 
Top