获取此代理运行所在的 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>
参数
textView
类型:Microsoft.VisualStudio.Text.Editor.ITextView应为其返回快速信息会话的 ITextView。
返回值
类型:ReadOnlyCollection<IQuickInfoSession>
在指定的 ITextView 对象中处于活动状态的有效快速信息会话的列表。
.NET Framework 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关详细信息,请参阅通过部分受信任的代码使用库。