IQuickInfoBroker.CreateQuickInfoSession 方法

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

参数

  • trackMouse
    类型:Boolean

    true ,如果会话应自动关闭,当鼠标离开会话的适用范围,否则 false。

返回值

类型:Microsoft.VisualStudio.Language.Intellisense.IQuickInfoSession
有效的快速信息会话;如果无法创建,则为 null。

.NET Framework 安全性

请参阅

参考

IQuickInfoBroker 接口

Microsoft.VisualStudio.Language.Intellisense 命名空间