다음을 통해 공유


IVsDropdownBar 인터페이스

코드 창의 맨 위에 있는 드롭 다운 막대를 제어할을 수 있습니다.

네임스페이스:  Microsoft.VisualStudio.TextManager.Interop
어셈블리:  Microsoft.VisualStudio.TextManager.Interop(Microsoft.VisualStudio.TextManager.Interop.dll)

구문

‘선언
<GuidAttribute("D7820968-4CF8-4760-B633-570282E5F66D")> _
<InterfaceTypeAttribute()> _
Public Interface IVsDropdownBar
[GuidAttribute("D7820968-4CF8-4760-B633-570282E5F66D")]
[InterfaceTypeAttribute()]
public interface IVsDropdownBar
[GuidAttribute(L"D7820968-4CF8-4760-B633-570282E5F66D")]
[InterfaceTypeAttribute()]
public interface class IVsDropdownBar
[<GuidAttribute("D7820968-4CF8-4760-B633-570282E5F66D")>]
[<InterfaceTypeAttribute()>]
type IVsDropdownBar =  interface end
public interface IVsDropdownBar

IVsDropdownBar 형식에서는 다음과 같은 멤버를 노출합니다.

메서드

  이름 설명
Public 메서드 Attach 창 및 드롭 다운 조합을 만들고 드롭 다운 막대와 고객 사이 링크를 설정 합니다.
Public 메서드 Detach 드롭다운 도구 모음 및 해당 클라이언트 간의 연결이 끊어집니다.
Public 메서드 GetClient 이 드롭 다운 막대와 연결 된 클라이언트에 반환 합니다.
Public 메서드 GetCurrentSelection 해당된 조합에 현재 선택 되어 있는 항목을 반환 합니다.
Public 메서드 RefreshCombo 새 선택 영역을 지정 하는 콤보의 다시 그리기 강제로.
Public 메서드 SetCurrentSelection 해당된 드롭다운 조합에 현재 선택 항목 설정

위쪽

설명

사용 IVsDropDownBar 드롭 다운 막대 조합 내용 새로 고침 강제로 또는 변경 조합 중 하나를 선택 합니다.

구현자 참고 사항

구현 IVsDropdownBar 드롭 다운 메뉴 막대와 직접 통신할 수 있습니다. To obtain an IVsDropdownBar, see IVsDropdownBarManager.

참고 항목

참조

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