定义用于显示签名帮助的 IntelliSense 会话。
命名空间: Microsoft.VisualStudio.Language.Intellisense
程序集: Microsoft.VisualStudio.Language.Intellisense(在 Microsoft.VisualStudio.Language.Intellisense.dll 中)
语法
声明
Public Interface ISignatureHelpSession _
Inherits IIntellisenseSession, IPropertyOwner
public interface ISignatureHelpSession : IIntellisenseSession,
IPropertyOwner
public interface class ISignatureHelpSession : IIntellisenseSession,
IPropertyOwner
type ISignatureHelpSession =
interface
interface IIntellisenseSession
interface IPropertyOwner
end
public interface ISignatureHelpSession extends IIntellisenseSession, IPropertyOwner
ISignatureHelpSession 类型公开以下成员。
属性
名称 | 说明 | |
---|---|---|
![]() |
IsDismissed | 确定会话是否已关闭。 (继承自 IIntellisenseSession。) |
![]() |
Presenter | 获取用于为会话呈现 IntelliSense 的 IIntellisensePresenter。 (继承自 IIntellisenseSession。) |
![]() |
Properties | 获取属性所有者控制的属性集合。 (继承自 IPropertyOwner。) |
![]() |
SelectedSignature | 获取从中当前中选择设置有效的签名。 |
![]() |
Signatures | 获取会话的有效签名的集合。 |
![]() |
TextView | 获取其中触发此 IntelliSense 会话的 ITextView 。 (继承自 IIntellisenseSession。) |
页首
方法
名称 | 说明 | |
---|---|---|
![]() |
Collapse | 使该会话减少到一个最小化状态的。如果会话没有这样的状态,则会议将关闭。 (继承自 IIntellisenseSession。) |
![]() |
Dismiss | 关闭会话,从而销毁相应呈现器,并从会话堆栈中移除该会话。 (继承自 IIntellisenseSession。) |
![]() |
GetTriggerPoint(ITextBuffer) | 获取此 IntelliSense 会话指定的 ITextBuffer触发的 ITrackingPoint 。 (继承自 IIntellisenseSession。) |
![]() |
GetTriggerPoint(ITextSnapshot) | 获取在指定的 ITextSnapshot 中触发此 IntelliSense 会话时所在的 SnapshotPoint。 (继承自 IIntellisenseSession。) |
![]() |
Match | 确定会话中的最佳匹配项并选择此项。 (继承自 IIntellisenseSession。) |
![]() |
Recalculate | 使用同一触发点重新计算属于此会话的基础 IntelliSense 项。 (继承自 IIntellisenseSession。) |
![]() |
Start | 启动会话。 (继承自 IIntellisenseSession。) |
页首
事件
名称 | 说明 | |
---|---|---|
![]() |
Dismissed | 在关闭会话时发生。 (继承自 IIntellisenseSession。) |
![]() |
PresenterChanged | 在会话的 IntelliSense 呈现器更改时发生。 (继承自 IIntellisenseSession。) |
![]() |
Recalculated | ,在该会话重新计算,发生。 (继承自 IIntellisenseSession。) |
![]() |
SelectedSignatureChanged | 当 SelectedSignature 属性更改时发生。 |
页首
示例
有关使用的示例此接口,请参见 演练:显示签名帮助。