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 類型會公開下列成員。
方法
名稱 | 描述 | |
---|---|---|
![]() |
Attach | [視窗] 和 [下拉式組合,會建立並設定 [鉛版] 列和其用戶端之間的連結。 |
![]() |
Detach | 中斷下拉列和其用戶端之間的連結。 |
![]() |
GetClient | 傳回此下拉式列相關聯的用戶端。 |
![]() |
GetCurrentSelection | 傳回指定組合中目前選取的項目。 |
![]() |
RefreshCombo | 強迫重畫的組合,指定新的選取範圍。 |
![]() |
SetCurrentSelection | 設定目前的選取範圍中指定的下拉式選單組合 |
回頁首
備註
使用IVsDropDownBar ,強制重新整理的下拉箭號組合內容的列,或其中一項組合的選取範圍。
實作者注意事項
實作IVsDropdownBar進行直接通訊與快顯功能表列。 To obtain an IVsDropdownBar, see IVsDropdownBarManager.