VsDropdownBarClass.Attach Method

Creates the window and drop-down combination and sets up a link between the drop-down bar and its client.

Namespace:  Microsoft.VisualStudio.TextManager.Interop
Assembly:  Microsoft.VisualStudio.TextManager.Interop (in Microsoft.VisualStudio.TextManager.Interop.dll)

Syntax

'Déclaration
Public Overridable Function Attach ( _
    hwndParent As IntPtr, _
    cCombos As Integer, _
    pClient As IVsDropdownBarClient _
) As Integer
'Utilisation
Dim instance As VsDropdownBarClass
Dim hwndParent As IntPtr
Dim cCombos As Integer
Dim pClient As IVsDropdownBarClient
Dim returnValue As Integer

returnValue = instance.Attach(hwndParent, _
    cCombos, pClient)
public virtual int Attach(
    IntPtr hwndParent,
    int cCombos,
    IVsDropdownBarClient pClient
)
public:
virtual int Attach(
    [InAttribute] IntPtr hwndParent, 
    [InAttribute] int cCombos, 
    [InAttribute] IVsDropdownBarClient^ pClient
)
abstract Attach : 
        hwndParent:IntPtr * 
        cCombos:int * 
        pClient:IVsDropdownBarClient -> int 
override Attach : 
        hwndParent:IntPtr * 
        cCombos:int * 
        pClient:IVsDropdownBarClient -> int 
public function Attach(
    hwndParent : IntPtr, 
    cCombos : int, 
    pClient : IVsDropdownBarClient
) : int

Parameters

  • hwndParent
    Type: System.IntPtr
    [in] Handle to the parent window.
  • cCombos
    Type: System.Int32
    [in] The Drop-down bar/Window combo.

Return Value

Type: System.Int32

Implements

IVsDropdownBar.Attach(IntPtr, Int32, IVsDropdownBarClient)

.NET Framework Security

See Also

Reference

VsDropdownBarClass Class

VsDropdownBarClass Members

Microsoft.VisualStudio.TextManager.Interop Namespace