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] 드롭다운 표시줄로 / 창이 콤보.
pClient
형식: Microsoft.VisualStudio.TextManager.Interop.IVsDropdownBarClient[in] 드롭 다운 막대 클라이언트에 대 한 포인터입니다.
반환 값
형식: Int32
구현
IVsDropdownBar.Attach(IntPtr, Int32, IVsDropdownBarClient)
.NET Framework 보안
- 직접 실행 호출자의 경우 완전히 신뢰합니다. 이 멤버는 부분적으로 신뢰할 수 있는 코드에서 사용할 수 없습니다. 자세한 내용은 부분 신뢰 코드에서 라이브러리 사용를 참조하세요.