IQuickInfoBroker::CreateQuickInfoSession Method (ITextView^, ITrackingPoint^, Boolean)

 

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)

IQuickInfoSession^ CreateQuickInfoSession(
	ITextView^ textView,
	ITrackingPoint^ triggerPoint,
	bool trackMouse
)

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.

Return to top
Show: