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)
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 | |
---|---|---|
HelpTopic | Gets or sets the help topic associated with the search control. | |
IsEnabled | Gets or sets whether the search control has been enabled or disabled. | |
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). | |
IsVisible | Gets or sets whether to show or hide the search control. | |
SearchEvents | Gets the search events callback once the search has been set up with the host. | |
SearchObject | Gets the search object once the search has been set up with the host. | |
SearchQuery | Gets the current search query that resulted from the parsing the current text in the search control. | |
SearchQueryParser | Gets the search query parser used by the search host to create the search queries from search strings typed by the user. | |
SearchTask | Gets the current search task if a search is in progress. |
Top
Methods
Name | Description | |
---|---|---|
Activate | Sets focus to the search control. | |
SearchAsync | Sets the search query and begins a search. If the query is null, the search is stopped if it had already started. | |
SetupSearch | Associates the search host control with the window search provider. | |
TerminateSearch | Disassociates the search host control from the window search provider, and releases resources used by the search. |
Top