Compartilhar via


IVsGlobalSearchUI Interface

Definition

Provides access to the Integrated Development Environment (IDE) global search user interface.

public interface class IVsGlobalSearchUI
public interface class IVsGlobalSearchUI
__interface IVsGlobalSearchUI
[System.Runtime.InteropServices.Guid("8ED03960-F01B-4A63-A492-7E55AE118D3D")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
public interface IVsGlobalSearchUI
[<System.Runtime.InteropServices.Guid("8ED03960-F01B-4A63-A492-7E55AE118D3D")>]
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]
type IVsGlobalSearchUI = interface
Public Interface IVsGlobalSearchUI
Attributes

Properties

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.

Methods

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(UInt32, IVsGlobalSearchUIResultsCategory[])

Get the results categories for the current search.

Applies to