IVsWindowSearchHostFactory.CreateWindowSearchHost(Object, IDropTarget) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.