다음을 통해 공유


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
Public property HelpTopic Gets or sets the help topic associated with the search control.
Public property IsEnabled Gets or sets whether the search control has been enabled or disabled.
Public property 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).
Public property IsVisible Gets or sets whether to show or hide the search control.
Public property SearchEvents Gets the search events callback once the search has been set up with the host.
Public property SearchObject Gets the search object once the search has been set up with the host.
Public property SearchQuery Gets the current search query that resulted from the parsing the current text in the search control.
Public property SearchQueryParser Gets the search query parser used by the search host to create the search queries from search strings typed by the user.
Public property SearchTask Gets the current search task if a search is in progress.

Top

Methods

  Name Description
Public method Activate Sets focus to the search control.
Public method SearchAsync Sets the search query and begins a search. If the query is null, the search is stopped if it had already started.
Public method SetupSearch Associates the search host control with the window search provider.
Public method TerminateSearch Disassociates the search host control from the window search provider, and releases resources used by the search.

Top

See Also

Reference

Microsoft.VisualStudio.Shell.Interop Namespace