IVsWindowSearchHostFactory.CreateWindowSearchHost Method
Creates a search control child of the specified control and returns its search host interface.
Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop.11.0 (in Microsoft.VisualStudio.Shell.Interop.11.0.dll)
Syntax
'Declaration
Function CreateWindowSearchHost ( _
pParentControl As Object, _
pDropTarget As IDropTarget _
) As IVsWindowSearchHost
IVsWindowSearchHost CreateWindowSearchHost(
Object pParentControl,
IDropTarget pDropTarget
)
IVsWindowSearchHost^ CreateWindowSearchHost(
[InAttribute] Object^ pParentControl,
[InAttribute] IDropTarget^ pDropTarget
)
abstract CreateWindowSearchHost :
pParentControl:Object *
pDropTarget:IDropTarget -> IVsWindowSearchHost
function CreateWindowSearchHost(
pParentControl : Object,
pDropTarget : IDropTarget
) : IVsWindowSearchHost
Parameters
pParentControl
Type: Object[in] The parent search control.
pDropTarget
Type: Microsoft.VisualStudio.OLE.Interop.IDropTarget[in, optional] The target for data during a drag-and-drop operation.
Return Value
Type: Microsoft.VisualStudio.Shell.Interop.IVsWindowSearchHost
The search host interface.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.