This topic has not yet been rated - Rate this topic

ICompletionSource.AugmentCompletionSession Method

Determines which CompletionSets should be part of the specified ICompletionSession.

Namespace:  Microsoft.VisualStudio.Language.Intellisense
Assembly:  Microsoft.VisualStudio.Language.Intellisense (in Microsoft.VisualStudio.Language.Intellisense.dll)
void AugmentCompletionSession(
	ICompletionSession session,
	IList<CompletionSet> completionSets
)

Parameters

session
Type: Microsoft.VisualStudio.Language.Intellisense.ICompletionSession
The session for which completions are to be computed.
completionSets
Type: System.Collections.Generic.IList<CompletionSet>
The set of CompletionSet objects to be added to the session.

Each applicable AugmentCompletionSession 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.

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.