Compartir a través de


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.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("8640A5BB-A6F8-4E4C-B4D7-C7041CFF3C71")> _
Public Interface IVsWindowSearch
[InterfaceTypeAttribute(ComInterfaceType.InterfaceIsIUnknown)]
[GuidAttribute("8640A5BB-A6F8-4E4C-B4D7-C7041CFF3C71")]
public interface IVsWindowSearch
[InterfaceTypeAttribute(ComInterfaceType::InterfaceIsIUnknown)]
[GuidAttribute(L"8640A5BB-A6F8-4E4C-B4D7-C7041CFF3C71")]
public interface class IVsWindowSearch
[<InterfaceTypeAttribute(ComInterfaceType.InterfaceIsIUnknown)>]
[<GuidAttribute("8640A5BB-A6F8-4E4C-B4D7-C7041CFF3C71")>]
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