共用方式為


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 命名空間