다음을 통해 공유


VsDropdownBarClass 클래스

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

상속 계층 구조

Object
  Microsoft.VisualStudio.TextManager.Interop.VsDropdownBarClass

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

구문

‘선언
<GuidAttribute("452807CC-9BFA-11D0-8C3F-00C04FC2AAE2")> _
<ClassInterfaceAttribute()> _
Public Class VsDropdownBarClass _
    Implements IVsDropdownBar, VsDropdownBar
[GuidAttribute("452807CC-9BFA-11D0-8C3F-00C04FC2AAE2")]
[ClassInterfaceAttribute()]
public class VsDropdownBarClass : IVsDropdownBar, 
    VsDropdownBar
[GuidAttribute(L"452807CC-9BFA-11D0-8C3F-00C04FC2AAE2")]
[ClassInterfaceAttribute()]
public ref class VsDropdownBarClass : IVsDropdownBar, 
    VsDropdownBar
[<GuidAttribute("452807CC-9BFA-11D0-8C3F-00C04FC2AAE2")>]
[<ClassInterfaceAttribute()>]
type VsDropdownBarClass =  
    class 
        interface IVsDropdownBar 
        interface VsDropdownBar 
    end
public class VsDropdownBarClass implements IVsDropdownBar, VsDropdownBar

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

생성자

  이름 설명
Public 메서드 VsDropdownBarClass

위쪽

메서드

  이름 설명
Public 메서드 Attach 창 및 드롭 다운 조합을 만들고 드롭 다운 막대와 고객 사이 링크를 설정 합니다.
Public 메서드 Detach 브레이크 아래쪽 막대와 해당 클라이언트 간의 링크입니다.
Public 메서드 Equals 지정한 개체와 현재 개체가 같은지를 확인합니다. (Object에서 상속됨)
Protected 메서드 Finalize 가비지 수집기가 회수하기 전에 개체가 리소스를 해제하고 다른 정리 작업을 수행할 수 있게 합니다. (Object에서 상속됨)
Public 메서드 GetClient 이 드롭 다운 막대와 연결 된 클라이언트에 반환 합니다.
Public 메서드 GetCurrentSelection 해당된 조합에 현재 선택 되어 있는 항목을 반환 합니다.
Public 메서드 GetHashCode 기본 해시 함수로 작동합니다. (Object에서 상속됨)
Public 메서드 GetType 현재 인스턴스의 Type을 가져옵니다. (Object에서 상속됨)
Protected 메서드 MemberwiseClone 현재 Object의 부분 복사본을 만듭니다. (Object에서 상속됨)
Public 메서드 RefreshCombo 현재 선택 영역을 지정 하는 콤보의 다시 그리기를 수행 합니다.
Public 메서드 SetCurrentSelection 해당된 드롭다운 조합에 현재 선택 영역을 설정합니다.
Public 메서드 ToString 현재 개체를 나타내는 문자열을 반환합니다. (Object에서 상속됨)

위쪽

설명

이 클래스의 인스턴스를 만들 수 없습니다에서 new 키워드입니다. 대신 가져와야 합니다는 ILocalRegistry 개체 및 개체를 만드는 CreateInstance. 이 방법으로 MPF 배치 CreateInstance.

스레드로부터의 안전성

이 형식의 모든 공용 static(Visual Basic의 경우 Shared) 멤버는 스레드로부터 안전합니다. 인터페이스 멤버는 스레드로부터 안전하지 않습니다.

참고 항목

참조

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