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
- textView
Type: Microsoft.VisualStudio.Text.Editor.ITextView
The ITextView for which a Quick Info session should be created.
- triggerPoint
Type: Microsoft.VisualStudio.Text.ITrackingPoint
The ITrackingPoint in the text buffer at which Quick Info should be triggered.
- 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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.