IVsWindowSearchHostFactory.CreateWindowSearchHost(Object, IDropTarget) IVsWindowSearchHostFactory.CreateWindowSearchHost(Object, IDropTarget) IVsWindowSearchHostFactory.CreateWindowSearchHost(Object, IDropTarget) 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 Object Object Object

[in] The parent search control.

pDropTarget
IDropTarget IDropTarget IDropTarget IDropTarget

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

Returns

Applies to