ICompletionSource.AugmentCompletionSession Method

Definition

Determines which CompletionSets should be part of the specified ICompletionSession.

C++
public:
 void AugmentCompletionSession(Microsoft::VisualStudio::Language::Intellisense::ICompletionSession ^ session, System::Collections::Generic::IList<Microsoft::VisualStudio::Language::Intellisense::CompletionSet ^> ^ completionSets);

Parameters

session
ICompletionSession

The session for which completions are to be computed.

completionSets
IList<CompletionSet>

The set of the completionSets to be added to the session.

Remarks

Each applicable AugmentCompletionSession(ICompletionSession, IList<CompletionSet>) instance will be called in-order to (re)calculate a ICompletionSession. CompletionSets can be added to the session by adding them to the completionSets collection passed-in as a parameter. In addition, by removing items from the collection, a source may filter CompletionSets provided by ICompletionSources earlier in the calculation chain.

Applies to

Продукт Версии
Visual Studio SDK 2015, 2017, 2019, 2022