Udostępnij za pośrednictwem


IVsWindowSearchHostFactory.CreateWindowSearchHost(Object, IDropTarget) Method

Definition

Creates a search control child of the specified control and returns its search host interface.

Microsoft::VisualStudio::Shell::Interop::IVsWindowSearchHost CreateWindowSearchHost(winrt::Windows::Foundation::IInspectable const & pParentControl, Microsoft::VisualStudio::OLE::Interop::IDropTarget const & pDropTarget);
public Microsoft.VisualStudio.Shell.Interop.IVsWindowSearchHost CreateWindowSearchHost (object pParentControl, Microsoft.VisualStudio.OLE.Interop.IDropTarget pDropTarget);
abstract member CreateWindowSearchHost : obj * Microsoft.VisualStudio.OLE.Interop.IDropTarget -> Microsoft.VisualStudio.Shell.Interop.IVsWindowSearchHost
Public Function CreateWindowSearchHost (pParentControl As Object, Optional pDropTarget As IDropTarget) As IVsWindowSearchHost

Parameters

pParentControl
Object

[in] The parent search control.

pDropTarget
IDropTarget

[in, optional] The target for data during a drag-and-drop operation.

Returns

The search host interface.

Applies to