Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
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)
Syntax
'Declaration
Sub AugmentCompletionSession ( _
session As ICompletionSession, _
completionSets As IList(Of CompletionSet) _
)
void AugmentCompletionSession(
ICompletionSession session,
IList<CompletionSet> completionSets
)
void AugmentCompletionSession(
ICompletionSession^ session,
IList<CompletionSet^>^ completionSets
)
abstract AugmentCompletionSession :
session:ICompletionSession *
completionSets:IList<CompletionSet> -> unit
function AugmentCompletionSession(
session : ICompletionSession,
completionSets : IList<CompletionSet>
)
Parameters
session
Type: Microsoft.VisualStudio.Language.Intellisense.ICompletionSessionThe 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.
Remarks
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.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.