共用方式為


IVsDropdownBarClient 介面

描述內容下拉箭號的長條的組合。

命名空間:  Microsoft.VisualStudio.TextManager.Interop
組件:  Microsoft.VisualStudio.TextManager.Interop (在 Microsoft.VisualStudio.TextManager.Interop.dll 中)

語法

'宣告
<InterfaceTypeAttribute()> _
<GuidAttribute("AEE77BDD-05C8-4DE1-B48E-1B003F49ACB7")> _
Public Interface IVsDropdownBarClient
[InterfaceTypeAttribute()]
[GuidAttribute("AEE77BDD-05C8-4DE1-B48E-1B003F49ACB7")]
public interface IVsDropdownBarClient
[InterfaceTypeAttribute()]
[GuidAttribute(L"AEE77BDD-05C8-4DE1-B48E-1B003F49ACB7")]
public interface class IVsDropdownBarClient
[<InterfaceTypeAttribute()>]
[<GuidAttribute("AEE77BDD-05C8-4DE1-B48E-1B003F49ACB7")>]
type IVsDropdownBarClient =  interface end
public interface IVsDropdownBarClient

IVsDropdownBarClient 類型會公開下列成員。

方法

  名稱 描述
公用方法 GetComboAttributes 傳回有關下拉式列 / 視窗組合。
公用方法 GetComboTipText 傳回的工具提示的整個下拉式列組合。
公用方法 GetEntryAttributes 下拉式組合項目的外觀屬性會傳回文字。
公用方法 GetEntryImage 傳回與下拉式項目相關的圖像 (glyph)。
公用方法 GetEntryText 傳回下拉式項目的文字。
公用方法 OnComboGetFocus 當下拉式取得焦點時引發。
公用方法 OnItemChosen 選擇 [下拉式項目時引發。
公用方法 OnItemSelected 當已選取 [下拉式項目時引發。
公用方法 SetDropdownBar 由 [下拉式選單] 列,將本身連結到用戶端呼叫。

回頁首

備註

所描述的每一種組合IVsDropDownBarClient可以包含 「 純文字,或建立特殊的文字是粗體、 加上底線或斜體,可以有視窗文字的字型色彩或灰色的字型上色,並選擇性地顯示項目旁邊的小型點陣圖。 繪製的影像已經過交涉,只使用影像清單與IVsCompletionSet介面。 每一個下拉式組合可以有不同的影像清單中,且影像清單應該有相同的高度的映像的警告。 您可以有任意數目的組合,而下拉式選單的程式碼不會假設其語意。

實作者注意事項

實作IVsDropdownBarClient介面,以說明的下拉箭號內容列組合。

請參閱

參考

Microsoft.VisualStudio.TextManager.Interop 命名空間