다음을 통해 공유


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 보안

참고 항목

참조

VsDropdownBarClass 클래스

Microsoft.VisualStudio.TextManager.Interop 네임스페이스