Freigeben über


ICompletionSource.AugmentCompletionSession Method

Definition

Determines which CompletionSets should be part of the specified ICompletionSession.

public:
 void AugmentCompletionSession(Microsoft::VisualStudio::Language::Intellisense::ICompletionSession ^ session, System::Collections::Generic::IList<Microsoft::VisualStudio::Language::Intellisense::CompletionSet ^> ^ completionSets);
public void AugmentCompletionSession (Microsoft.VisualStudio.Language.Intellisense.ICompletionSession session, System.Collections.Generic.IList<Microsoft.VisualStudio.Language.Intellisense.CompletionSet> completionSets);
abstract member AugmentCompletionSession : Microsoft.VisualStudio.Language.Intellisense.ICompletionSession * System.Collections.Generic.IList<Microsoft.VisualStudio.Language.Intellisense.CompletionSet> -> unit
Public Sub AugmentCompletionSession (session As ICompletionSession, completionSets As IList(Of CompletionSet))

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