共用方式為


ICompletionSource.AugmentCompletionSession 方法

決定哪些CompletionSets 應納入指定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 集合,將 s 加入至工作階段。 此外,從集合移除項目,來源可能會篩選CompletionSets 所提供的ICompletionSources 稍早的計算鏈結。

.NET Framework 安全性

請參閱

參考

ICompletionSource 介面

Microsoft.VisualStudio.Language.Intellisense 命名空間