다음을 통해 공유


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 네임스페이스