ICompletionSource.AugmentCompletionSession 方法

确定 CompletionSet应是指定的 ICompletionSession的一部分。

命名空间:  Microsoft.VisualStudio.Language.Intellisense
程序集:  Microsoft.VisualStudio.Language.Intellisense(在 Microsoft.VisualStudio.Language.Intellisense.dll 中)

语法

声明
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>
)

参数

备注

每个适用的 AugmentCompletionSession 实例将调用来 (有关) 计算 ICompletionSessionCompletionSet的可添加到该会话通过向通过在作为参数的 completionSets 集合。 此外,通过移除项从集合,源可以筛选在计算链中 ICompletionSource的提供的 CompletionSet的之前。

.NET Framework 安全性

请参阅

参考

ICompletionSource 接口

Microsoft.VisualStudio.Language.Intellisense 命名空间