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