共用方式為


VsDropdownBar Interface

Definition

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

public interface class VsDropdownBar : Microsoft::VisualStudio::TextManager::Interop::IVsDropdownBar
public interface class VsDropdownBar : Microsoft::VisualStudio::TextManager::Interop::IVsDropdownBar
__interface VsDropdownBar : Microsoft::VisualStudio::TextManager::Interop::IVsDropdownBar
[System.Runtime.InteropServices.CoClass(typeof(Microsoft.VisualStudio.TextManager.Interop.VsDropdownBarClass))]
[System.Runtime.InteropServices.Guid("D7820968-4CF8-4760-B633-570282E5F66D")]
public interface VsDropdownBar : Microsoft.VisualStudio.TextManager.Interop.IVsDropdownBar
[System.Runtime.InteropServices.CoClass(typeof(Microsoft.VisualStudio.TextManager.Interop.VsDropdownBarClass))]
[System.Runtime.InteropServices.Guid("D7820968-4CF8-4760-B633-570282E5F66D")]
[System.Runtime.InteropServices.ComVisible(false)]
public interface VsDropdownBar : Microsoft.VisualStudio.TextManager.Interop.IVsDropdownBar
[<System.Runtime.InteropServices.CoClass(typeof(Microsoft.VisualStudio.TextManager.Interop.VsDropdownBarClass))>]
[<System.Runtime.InteropServices.Guid("D7820968-4CF8-4760-B633-570282E5F66D")>]
type VsDropdownBar = interface
    interface IVsDropdownBar
[<System.Runtime.InteropServices.CoClass(typeof(Microsoft.VisualStudio.TextManager.Interop.VsDropdownBarClass))>]
[<System.Runtime.InteropServices.Guid("D7820968-4CF8-4760-B633-570282E5F66D")>]
[<System.Runtime.InteropServices.ComVisible(false)>]
type VsDropdownBar = interface
    interface IVsDropdownBar
Public Interface VsDropdownBar
Implements IVsDropdownBar
Derived
Attributes
Implements

Methods

Attach(IntPtr, Int32, IVsDropdownBarClient)

Creates the window and drop-down combination and sets up a link between the drop-down bar and its client.

(Inherited from IVsDropdownBar)
Detach()

Breaks the link between the dropdown bar and its client.

(Inherited from IVsDropdownBar)
GetClient(IVsDropdownBarClient)

Returns the client associated with this drop-down bar.

(Inherited from IVsDropdownBar)
GetCurrentSelection(Int32, Int32)

Returns the entry that is currently selected in a given combination.

(Inherited from IVsDropdownBar)
RefreshCombo(Int32, Int32)

Force a repaint of a combo, specifying the new selection.

(Inherited from IVsDropdownBar)
SetCurrentSelection(Int32, Int32)

Sets the current selection in the given drop-down combination

(Inherited from IVsDropdownBar)

Applies to