IQuickInfoBroker.GetSessions 方法

获取此代理运行所在的 ITextView 的活动快速信息会话的集合。

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

语法

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

参数

返回值

类型:ReadOnlyCollection<IQuickInfoSession>
在指定的 ITextView 对象中处于活动状态的有效快速信息会话的列表。

.NET Framework 安全性

请参阅

参考

IQuickInfoBroker 接口

Microsoft.VisualStudio.Language.Intellisense 命名空间