IVsGlobalSearchUI Interface
Provides access to the Integrated Development Environment (IDE) global search user interface.
Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop.11.0 (in Microsoft.VisualStudio.Shell.Interop.11.0.dll)
Syntax
'Declaration
<InterfaceTypeAttribute(ComInterfaceType.InterfaceIsIUnknown)> _
<GuidAttribute("8ED03960-F01B-4A63-A492-7E55AE118D3D")> _
Public Interface IVsGlobalSearchUI
[InterfaceTypeAttribute(ComInterfaceType.InterfaceIsIUnknown)]
[GuidAttribute("8ED03960-F01B-4A63-A492-7E55AE118D3D")]
public interface IVsGlobalSearchUI
[InterfaceTypeAttribute(ComInterfaceType::InterfaceIsIUnknown)]
[GuidAttribute(L"8ED03960-F01B-4A63-A492-7E55AE118D3D")]
public interface class IVsGlobalSearchUI
[<InterfaceTypeAttribute(ComInterfaceType.InterfaceIsIUnknown)>]
[<GuidAttribute("8ED03960-F01B-4A63-A492-7E55AE118D3D")>]
type IVsGlobalSearchUI = interface end
public interface IVsGlobalSearchUI
The IVsGlobalSearchUI type exposes the following members.
Properties
Name | Description | |
---|---|---|
ActiveResultsCategory | Gets the active category index. | |
IsActive | Gets whether the global search control or its popup has focus. | |
IsEnabled | Gets or sets the state of the global search UI. If true, the global search UI is enabled. If false, the global search UI is disabled. | |
IsResultsListVisible | Sets whether the global search results popup is visible. If set to true, the global search results popup is visible. | |
PreserveResults | Gets or sets whether the global search preserves results from a previous search to be displayed when the UI is shown again. If true, the results are preserved. | |
SearchHost | Gets the search host of the global search control. Can be used to initiate IDE-wide searches with the UI, get the status of the existing search, and so on. |
Top
Methods
Name | Description | |
---|---|---|
Activate | Focuses the global search control, or shows the next results category if the control is active already (navigate forwards). | |
ActivateBack | Focuses the global search control, or shows the previous results category if the control is active already (navigate backwards). | |
GetResultsCategories | Get the results categories for the current search. |
Top