Partilhar via


IQuickInfoBroker.CreateQuickInfoSession Method

Definition

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

public:
 Microsoft::VisualStudio::Language::Intellisense::IQuickInfoSession ^ CreateQuickInfoSession(Microsoft::VisualStudio::Text::Editor::ITextView ^ textView, Microsoft::VisualStudio::Text::ITrackingPoint ^ triggerPoint, bool trackMouse);
public:
 Microsoft::VisualStudio::Language::Intellisense::IQuickInfoSession ^ CreateQuickInfoSession(Microsoft::VisualStudio::Text::Editor::ITextView ^ textView, Microsoft::VisualStudio::Text::ITrackingPoint ^ triggerPoint, bool trackMouse);
Microsoft::VisualStudio::Language::Intellisense::IQuickInfoSession CreateQuickInfoSession(Microsoft::VisualStudio::Text::Editor::ITextView const & textView, Microsoft::VisualStudio::Text::ITrackingPoint const & triggerPoint, bool trackMouse);
public Microsoft.VisualStudio.Language.Intellisense.IQuickInfoSession CreateQuickInfoSession (Microsoft.VisualStudio.Text.Editor.ITextView textView, Microsoft.VisualStudio.Text.ITrackingPoint triggerPoint, bool trackMouse);
abstract member CreateQuickInfoSession : Microsoft.VisualStudio.Text.Editor.ITextView * Microsoft.VisualStudio.Text.ITrackingPoint * bool -> Microsoft.VisualStudio.Language.Intellisense.IQuickInfoSession
Public Function CreateQuickInfoSession (textView As ITextView, triggerPoint As ITrackingPoint, trackMouse As Boolean) As IQuickInfoSession

Parameters

textView
ITextView

The ITextView for which a Quick Info should be created.

triggerPoint
ITrackingPoint

The ITrackingPoint in the text buffer at which Quick Info should be triggered.

trackMouse
Boolean

true if the session should be auto-dismissed when the mouse leaves the applicability span of the session, otherwise false.

Returns

A valid Quick Info session, or null if none could be created.

Applies to