IAsyncQuickInfoBroker.GetQuickInfoItemsAsync Method

Definition

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

textView
ITextView

The ITextView for which Quick Info is to be triggered.

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.

Applies to