IAsyncCompletionBroker.GetAggregatedCompletionContextAsync 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
public:
System::Threading::Tasks::Task<Microsoft::VisualStudio::Language::Intellisense::AsyncCompletion::Data::AggregatedCompletionContext ^> ^ GetAggregatedCompletionContextAsync(Microsoft::VisualStudio::Text::Editor::ITextView ^ textView, Microsoft::VisualStudio::Language::Intellisense::AsyncCompletion::Data::CompletionTrigger trigger, Microsoft::VisualStudio::Text::SnapshotPoint triggerLocation, System::Threading::CancellationToken token);
public System.Threading.Tasks.Task<Microsoft.VisualStudio.Language.Intellisense.AsyncCompletion.Data.AggregatedCompletionContext> GetAggregatedCompletionContextAsync (Microsoft.VisualStudio.Text.Editor.ITextView textView, Microsoft.VisualStudio.Language.Intellisense.AsyncCompletion.Data.CompletionTrigger trigger, Microsoft.VisualStudio.Text.SnapshotPoint triggerLocation, System.Threading.CancellationToken token);
abstract member GetAggregatedCompletionContextAsync : Microsoft.VisualStudio.Text.Editor.ITextView * Microsoft.VisualStudio.Language.Intellisense.AsyncCompletion.Data.CompletionTrigger * Microsoft.VisualStudio.Text.SnapshotPoint * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.VisualStudio.Language.Intellisense.AsyncCompletion.Data.AggregatedCompletionContext>
Public Function GetAggregatedCompletionContextAsync (textView As ITextView, trigger As CompletionTrigger, triggerLocation As SnapshotPoint, token As CancellationToken) As Task(Of AggregatedCompletionContext)
参数
- textView
- ITextView
- trigger
- CompletionTrigger
- triggerLocation
- SnapshotPoint
- token
- CancellationToken