ICompletionBroker.GetSessions 方法

获取活动语句完成会话的列表。

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

语法

声明
Function GetSessions ( _
    textView As ITextView _
) As ReadOnlyCollection(Of ICompletionSession)
ReadOnlyCollection<ICompletionSession> GetSessions(
    ITextView textView
)
ReadOnlyCollection<ICompletionSession^>^ GetSessions(
    ITextView^ textView
)
abstract GetSessions : 
        textView:ITextView -> ReadOnlyCollection<ICompletionSession> 
function GetSessions(
    textView : ITextView
) : ReadOnlyCollection<ICompletionSession>

参数

返回值

类型:ReadOnlyCollection<ICompletionSession>
一个 ICompletionSession 类型的 ReadOnlyCollection

.NET Framework 安全性

请参阅

参考

ICompletionBroker 接口

Microsoft.VisualStudio.Language.Intellisense 命名空间