Bagikan melalui


IQuickInfoBroker.CreateQuickInfoSession Method

Creates but does not start a Quick Info session at the specified location in the ITextBuffer.

Namespace:  Microsoft.VisualStudio.Language.Intellisense
Assembly:  Microsoft.VisualStudio.Language.Intellisense (in Microsoft.VisualStudio.Language.Intellisense.dll)

Syntax

'Declaration
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

Parameters

  • trackMouse
    Type: System.Boolean
    true if the session should be auto-dismissed when the mouse leaves the applicability span of the session, otherwise false.

Return Value

Type: Microsoft.VisualStudio.Language.Intellisense.IQuickInfoSession
A valid Quick Info session, or null if none could be created.

.NET Framework Security

See Also

Reference

IQuickInfoBroker Interface

Microsoft.VisualStudio.Language.Intellisense Namespace