ISignatureHelpBroker 接口

定义签名帮助代理,签名帮助代理是签名帮助进程的主要组成部分。

命名空间:  Microsoft.VisualStudio.Language.Intellisense
程序集:  Microsoft.VisualStudio.Language.Intellisense(在 Microsoft.VisualStudio.Language.Intellisense.dll 中)

语法

声明
Public Interface ISignatureHelpBroker
public interface ISignatureHelpBroker
public interface class ISignatureHelpBroker
type ISignatureHelpBroker =  interface end
public interface ISignatureHelpBroker

ISignatureHelpBroker 类型公开以下成员。

方法

  名称 说明
公共方法 CreateSignatureHelpSession 创建签名帮助会话,而不启动该会话。
公共方法 DismissAllSessions 在此代理的 ITextView 中关闭所有活动的签名帮助会话。
公共方法 GetSessions 为此代理的 ITextView 获取所有签名帮助会话的列表。
公共方法 IsSignatureHelpActive 确定签名帮助是否处于活动状态。
公共方法 TriggerSignatureHelp(ITextView) 在插入符号的位置开始签名帮助的进程。
公共方法 TriggerSignatureHelp(ITextView, ITrackingPoint, Boolean) 在指定点开始签名帮助的进程。

页首

备注

该代理将从头到尾处理每个签名帮助会话负责。 IntelliSense 控制器请求此代理触发或关闭签名帮助。 该代理可以由其他元素还用于确定签名帮助状态或触发处理。

应导入命名如下所示:

[Import]
internal ISignatureHelpBroker m_helpBroker = null;

示例

有关使用的示例此接口,请参见 演练:显示签名帮助

请参阅

参考

Microsoft.VisualStudio.Language.Intellisense 命名空间