Compartir a través de


VsDropdownBar Interface

Provides control of the drop-down bar at the top of a code window.

Namespace:  Microsoft.VisualStudio.TextManager.Interop
Assembly:  Microsoft.VisualStudio.TextManager.Interop (in Microsoft.VisualStudio.TextManager.Interop.dll)

Syntax

'Declaration
<GuidAttribute("D7820968-4CF8-4760-B633-570282E5F66D")> _
Public Interface VsDropdownBar _
    Inherits IVsDropdownBar
[GuidAttribute("D7820968-4CF8-4760-B633-570282E5F66D")]
public interface VsDropdownBar : IVsDropdownBar
[GuidAttribute(L"D7820968-4CF8-4760-B633-570282E5F66D")]
public interface class VsDropdownBar : IVsDropdownBar
[<GuidAttribute("D7820968-4CF8-4760-B633-570282E5F66D")>]
type VsDropdownBar =  
    interface 
        interface IVsDropdownBar 
    end
public interface VsDropdownBar extends IVsDropdownBar

The VsDropdownBar type exposes the following members.

Methods

  Name Description
Public method Attach Creates the window and drop-down combination and sets up a link between the drop-down bar and its client. (Inherited from IVsDropdownBar.)
Public method Detach Breaks the link between the dropdown bar and its client. (Inherited from IVsDropdownBar.)
Public method GetClient Returns the client associated with this drop-down bar. (Inherited from IVsDropdownBar.)
Public method GetCurrentSelection Returns the entry that is currently selected in a given combination. (Inherited from IVsDropdownBar.)
Public method RefreshCombo Force a repaint of a combo, specifying the new selection. (Inherited from IVsDropdownBar.)
Public method SetCurrentSelection Sets the current selection in the given drop-down combination (Inherited from IVsDropdownBar.)

Top

See Also

Reference

Microsoft.VisualStudio.TextManager.Interop Namespace