Поделиться через


VsDropdownBarClass.Attach - метод

Создает окно, и комбинации раскрывающемся списке и настраивает соединение между строкой падающим вниз и клиентом.

Пространство имен:  Microsoft.VisualStudio.TextManager.Interop
Сборка:  Microsoft.VisualStudio.TextManager.Interop (в Microsoft.VisualStudio.TextManager.Interop.dll)

Синтаксис

'Декларация
Public Overridable Function Attach ( _
    hwndParent As IntPtr, _
    cCombos As Integer, _
    pClient As IVsDropdownBarClient _
) As Integer
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

Параметры

  • hwndParent
    Тип: IntPtr

    [in] дескриптор родительского окна.

  • cCombos
    Тип: Int32

    [in] список линейчатых диаграмм или окно комбинированное.

Возвращаемое значение

Тип: Int32

Реализации

IVsDropdownBar.Attach(IntPtr, Int32, IVsDropdownBarClient)

Безопасность платформы .NET Framework

См. также

Ссылки

VsDropdownBarClass Класс

Microsoft.VisualStudio.TextManager.Interop - пространство имен