在 ITextBuffer 中的指定位置创建但不启动快速信息会话。
命名空间: Microsoft.VisualStudio.Language.Intellisense
程序集: Microsoft.VisualStudio.Language.Intellisense(在 Microsoft.VisualStudio.Language.Intellisense.dll 中)
语法
声明
Function CreateQuickInfoSession ( _
textView As ITextView, _
triggerPoint As ITrackingPoint, _
trackMouse As Boolean _
) As IQuickInfoSession
IQuickInfoSession CreateQuickInfoSession(
ITextView textView,
ITrackingPoint triggerPoint,
bool trackMouse
)
IQuickInfoSession^ CreateQuickInfoSession(
ITextView^ textView,
ITrackingPoint^ triggerPoint,
bool trackMouse
)
abstract CreateQuickInfoSession :
textView:ITextView *
triggerPoint:ITrackingPoint *
trackMouse:bool -> IQuickInfoSession
function CreateQuickInfoSession(
textView : ITextView,
triggerPoint : ITrackingPoint,
trackMouse : boolean
) : IQuickInfoSession
参数
textView
类型:Microsoft.VisualStudio.Text.Editor.ITextView一个快速信息会话应创建的 ITextView 。
triggerPoint
类型:Microsoft.VisualStudio.Text.ITrackingPoint文本缓冲区中应触发快速信息的 ITrackingPoint。
trackMouse
类型:Booleantrue ,如果会话应自动关闭,当鼠标离开会话的适用范围,否则 false。
返回值
类型:Microsoft.VisualStudio.Language.Intellisense.IQuickInfoSession
有效的快速信息会话;如果无法创建,则为 null。
.NET Framework 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关详细信息,请参阅通过部分受信任的代码使用库。