IVsDropdownBar.Attach 메서드
창 및 드롭 다운 조합을 만들고 드롭 다운 막대와 고객 사이 링크를 설정 합니다.
네임스페이스: Microsoft.VisualStudio.TextManager.Interop
어셈블리: Microsoft.VisualStudio.TextManager.Interop(Microsoft.VisualStudio.TextManager.Interop.dll)
구문
‘선언
Function Attach ( _
hwndParent As IntPtr, _
cCombos As Integer, _
pClient As IVsDropdownBarClient _
) As Integer
int Attach(
IntPtr hwndParent,
int cCombos,
IVsDropdownBarClient pClient
)
int Attach(
[InAttribute] IntPtr hwndParent,
[InAttribute] int cCombos,
[InAttribute] IVsDropdownBarClient^ pClient
)
abstract Attach :
hwndParent:IntPtr *
cCombos:int *
pClient:IVsDropdownBarClient -> int
function Attach(
hwndParent : IntPtr,
cCombos : int,
pClient : IVsDropdownBarClient
) : int
매개 변수
hwndParent
형식: IntPtr[in] 부모 창 핸들입니다.
cCombos
형식: Int32[in] 드롭다운 표시줄로 / 창이 콤보.
pClient
형식: Microsoft.VisualStudio.TextManager.Interop.IVsDropdownBarClient[in] 드롭 다운 막대 클라이언트에 대 한 포인터입니다.
반환 값
형식: Int32
메서드가 성공 하면, 반환 S_OK.실패할 경우 오류 코드를 반환합니다.
설명
Attach라고 AddDropdownBar. Attach창 및 드롭다운 조합을 만들고 드롭다운 표시줄로 사이 링크를 설정 하는 IVsDropdownBarClient. 우회 하려는 경우가 아니면이 함수를 호출 하지 않습니다 IVsDropdownBarManager.
COM 시그니처
Textmgr.idl에서:
HRESULT IVsDropdownBar::Attach(
[in] HWND hwndParent,
[in] long cCombos,
[in] IVsDropdownBarClient *pClient
);
.NET Framework 보안
- 직접 실행 호출자의 경우 완전히 신뢰합니다. 이 멤버는 부분적으로 신뢰할 수 있는 코드에서 사용할 수 없습니다. 자세한 내용은 부분 신뢰 코드에서 라이브러리 사용를 참조하세요.