IAsyncQuickInfoBroker.GetQuickInfoItemsAsync 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.
Gets Quick Info items for the ITextView at the triggerPoint
.
public:
System::Threading::Tasks::Task<Microsoft::VisualStudio::Language::Intellisense::QuickInfoItemsCollection ^> ^ GetQuickInfoItemsAsync(Microsoft::VisualStudio::Text::Editor::ITextView ^ textView, Microsoft::VisualStudio::Text::ITrackingPoint ^ triggerPoint, System::Threading::CancellationToken cancellationToken);
public System.Threading.Tasks.Task<Microsoft.VisualStudio.Language.Intellisense.QuickInfoItemsCollection> GetQuickInfoItemsAsync (Microsoft.VisualStudio.Text.Editor.ITextView textView, Microsoft.VisualStudio.Text.ITrackingPoint triggerPoint, System.Threading.CancellationToken cancellationToken);
abstract member GetQuickInfoItemsAsync : Microsoft.VisualStudio.Text.Editor.ITextView * Microsoft.VisualStudio.Text.ITrackingPoint * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.VisualStudio.Language.Intellisense.QuickInfoItemsCollection>
Public Function GetQuickInfoItemsAsync (textView As ITextView, triggerPoint As ITrackingPoint, cancellationToken As CancellationToken) As Task(Of QuickInfoItemsCollection)
Parameters
- triggerPoint
- ITrackingPoint
The ITrackingPoint in the view's text buffer at which Quick Info should be triggered.
- cancellationToken
- CancellationToken
If canceled before the method returns, cancels any computations in progress.
Returns
A series of Quick Info items and a span for which they are applicable.
Exceptions
cancellationToken
was canceled by the caller.
One or more errors occured during query of quick info items sources.