IVsDropdownBarClient.OnItemSelected 메서드
콤보 항목이 선택 될 때 발생 합니다.
네임스페이스: Microsoft.VisualStudio.TextManager.Interop
어셈블리: Microsoft.VisualStudio.TextManager.Interop(Microsoft.VisualStudio.TextManager.Interop.dll)
구문
‘선언
Function OnItemSelected ( _
iCombo As Integer, _
iIndex As Integer _
) As Integer
int OnItemSelected(
int iCombo,
int iIndex
)
int OnItemSelected(
[InAttribute] int iCombo,
[InAttribute] int iIndex
)
abstract OnItemSelected :
iCombo:int *
iIndex:int -> int
function OnItemSelected(
iCombo : int,
iIndex : int
) : int
매개 변수
iCombo
형식: Int32[in] 드롭다운 표시줄로 / 창이 콤보.
iIndex
형식: Int32[in] 원하는 항목의 인덱스입니다.
반환 값
형식: Int32
메서드가 성공 하면, 반환 S_OK.실패할 경우 오류 코드를 반환합니다.
설명
COM 시그니처
Textmgr.idl에서:
HRESULT IVsDropdownBarClient::OnItemSelected(
[in] long iCombo,
[in] long iIndex
);
.NET Framework 보안
- 직접 실행 호출자의 경우 완전히 신뢰합니다. 이 멤버는 부분적으로 신뢰할 수 있는 코드에서 사용할 수 없습니다. 자세한 내용은 부분 신뢰 코드에서 라이브러리 사용를 참조하세요.