VsDropdownBarClass.GetCurrentSelection 메서드
해당된 조합에 현재 선택 되어 있는 항목을 반환 합니다.
네임스페이스: Microsoft.VisualStudio.TextManager.Interop
어셈블리: Microsoft.VisualStudio.TextManager.Interop(Microsoft.VisualStudio.TextManager.Interop.dll)
구문
‘선언
Public Overridable Function GetCurrentSelection ( _
iCombo As Integer, _
<OutAttribute> ByRef piCurSel As Integer _
) As Integer
public virtual int GetCurrentSelection(
int iCombo,
out int piCurSel
)
public:
virtual int GetCurrentSelection(
[InAttribute] int iCombo,
[OutAttribute] int% piCurSel
)
abstract GetCurrentSelection :
iCombo:int *
piCurSel:int byref -> int
override GetCurrentSelection :
iCombo:int *
piCurSel:int byref -> int
public function GetCurrentSelection(
iCombo : int,
piCurSel : int
) : int
매개 변수
iCombo
형식: Int32[in] 드롭다운 표시줄로 / 창 조합입니다.
piCurSel
형식: Int32%[out] 현재 선택한 항목입니다.
반환 값
형식: Int32
구현
IVsDropdownBar.GetCurrentSelection(Int32, Int32%)
.NET Framework 보안
- 직접 실행 호출자의 경우 완전히 신뢰합니다. 이 멤버는 부분적으로 신뢰할 수 있는 코드에서 사용할 수 없습니다. 자세한 내용은 부분 신뢰 코드에서 라이브러리 사용를 참조하세요.