IQuickInfoBroker.TriggerQuickInfo Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
TriggerQuickInfo(ITextView) |
Triggers Quick Info at the position of the caret in the specified ITextView. |
TriggerQuickInfo(ITextView, ITrackingPoint, Boolean) |
Triggers Quick Info at the specified position in the buffer, either tracking or not tracking the mouse. |
TriggerQuickInfo(ITextView)
Triggers Quick Info at the position of the caret in the specified ITextView.
public:
Microsoft::VisualStudio::Language::Intellisense::IQuickInfoSession ^ TriggerQuickInfo(Microsoft::VisualStudio::Text::Editor::ITextView ^ textView);
public:
Microsoft::VisualStudio::Language::Intellisense::IQuickInfoSession ^ TriggerQuickInfo(Microsoft::VisualStudio::Text::Editor::ITextView ^ textView);
Microsoft::VisualStudio::Language::Intellisense::IQuickInfoSession TriggerQuickInfo(Microsoft::VisualStudio::Text::Editor::ITextView const & textView);
public Microsoft.VisualStudio.Language.Intellisense.IQuickInfoSession TriggerQuickInfo (Microsoft.VisualStudio.Text.Editor.ITextView textView);
abstract member TriggerQuickInfo : Microsoft.VisualStudio.Text.Editor.ITextView -> Microsoft.VisualStudio.Language.Intellisense.IQuickInfoSession
Public Function TriggerQuickInfo (textView As ITextView) As IQuickInfoSession
Parameters
Returns
A valid Quick Info session, or null if none could be created.
Remarks
Quick Info is triggered in the ITextView to which this broker is attached.
Applies to
TriggerQuickInfo(ITextView, ITrackingPoint, Boolean)
Triggers Quick Info at the specified position in the buffer, either tracking or not tracking the mouse.
public:
Microsoft::VisualStudio::Language::Intellisense::IQuickInfoSession ^ TriggerQuickInfo(Microsoft::VisualStudio::Text::Editor::ITextView ^ textView, Microsoft::VisualStudio::Text::ITrackingPoint ^ triggerPoint, bool trackMouse);
public:
Microsoft::VisualStudio::Language::Intellisense::IQuickInfoSession ^ TriggerQuickInfo(Microsoft::VisualStudio::Text::Editor::ITextView ^ textView, Microsoft::VisualStudio::Text::ITrackingPoint ^ triggerPoint, bool trackMouse);
Microsoft::VisualStudio::Language::Intellisense::IQuickInfoSession TriggerQuickInfo(Microsoft::VisualStudio::Text::Editor::ITextView const & textView, Microsoft::VisualStudio::Text::ITrackingPoint const & triggerPoint, bool trackMouse);
public Microsoft.VisualStudio.Language.Intellisense.IQuickInfoSession TriggerQuickInfo (Microsoft.VisualStudio.Text.Editor.ITextView textView, Microsoft.VisualStudio.Text.ITrackingPoint triggerPoint, bool trackMouse);
abstract member TriggerQuickInfo : Microsoft.VisualStudio.Text.Editor.ITextView * Microsoft.VisualStudio.Text.ITrackingPoint * bool -> Microsoft.VisualStudio.Language.Intellisense.IQuickInfoSession
Public Function TriggerQuickInfo (textView As ITextView, triggerPoint As ITrackingPoint, trackMouse As Boolean) As IQuickInfoSession
Parameters
- triggerPoint
- ITrackingPoint
The ITrackingPoint in the text buffer at which Quick Info should be triggered.
- trackMouse
- Boolean
true
if the session should be dismissed when the mouse leaves the applicability span of the session,
false
otherwise.
Returns
A valid Quick Info session, or null if none could be created.