Share via


IVsWindowSearch Interface

Implemented by a window that wants to have searchable content. The search host will call this interface to initiate the search or obtain search options When the interface is implemented by a toolwindow on the IVsWindowPane class or on [VSFPROPID_ViewHelper], it will be called by the shell on SearchEnabled to check if the search is enabled for the toolwindow. If so, the shell will automatically setup a search host associated with the window using the default placement for the search control in the shell frame/toolbar area.

Namespace:  Microsoft.VisualStudio.Shell.Interop
Assemblies:   Microsoft.VisualStudio.Shell.11.0 (in Microsoft.VisualStudio.Shell.11.0.dll)
  Microsoft.VisualStudio.Shell.Interop.11.0 (in Microsoft.VisualStudio.Shell.Interop.11.0.dll)

Syntax

'Declaration
<GuidAttribute("8640A5BB-A6F8-4E4C-B4D7-C7041CFF3C71")> _
<InterfaceTypeAttribute(ComInterfaceType.InterfaceIsIUnknown)> _
Public Interface IVsWindowSearch
[GuidAttribute("8640A5BB-A6F8-4E4C-B4D7-C7041CFF3C71")]
[InterfaceTypeAttribute(ComInterfaceType.InterfaceIsIUnknown)]
public interface IVsWindowSearch
[GuidAttribute(L"8640A5BB-A6F8-4E4C-B4D7-C7041CFF3C71")]
[InterfaceTypeAttribute(ComInterfaceType::InterfaceIsIUnknown)]
public interface class IVsWindowSearch
[<GuidAttribute("8640A5BB-A6F8-4E4C-B4D7-C7041CFF3C71")>]
[<InterfaceTypeAttribute(ComInterfaceType.InterfaceIsIUnknown)>]
type IVsWindowSearch =  interface end
public interface IVsWindowSearch

The IVsWindowSearch type exposes the following members.

Properties

  Name Description
Public property Category
Public property SearchEnabled
Public property SearchFiltersEnum
Public property SearchOptionsEnum

Top

Methods

  Name Description
Public method ClearSearch
Public method CreateSearch
Public method OnNavigationKeyDown
Public method ProvideSearchSettings

Top

See Also

Reference

Microsoft.VisualStudio.Shell.Interop Namespace