共用方式為


IQuickInfoSourceProvider 介面

代表工廠的快速諮詢來源。

命名空間:  Microsoft.VisualStudio.Language.Intellisense
組件:  Microsoft.VisualStudio.Language.Intellisense (在 Microsoft.VisualStudio.Language.Intellisense.dll 中)

語法

'宣告
Public Interface IQuickInfoSourceProvider
public interface IQuickInfoSourceProvider
public interface class IQuickInfoSourceProvider
type IQuickInfoSourceProvider =  interface end
public interface IQuickInfoSourceProvider

IQuickInfoSourceProvider 類型會公開下列成員。

方法

  名稱 描述
公用方法 TryCreateQuickInfoSource 建立快速諮詢來源為指定的內容。

回頁首

備註

這是將 MEF 元件組件中,並應匯出具有下列屬性:

[Export(typeof(IQuickInfoSourceProvider))]

範例

如需使用此介面的範例,請參閱逐步解說: 顯示 QuickInfo 的工具提示

請參閱

參考

Microsoft.VisualStudio.Language.Intellisense 命名空間