Share via


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: System.Object

    [in] The parent search control.

Return Value

Type: Microsoft.VisualStudio.Shell.Interop.IVsWindowSearchHost
The search host interface.

.NET Framework Security

See Also

Reference

IVsWindowSearchHostFactory Interface

Microsoft.VisualStudio.Shell.Interop Namespace