IQuickInfoBroker.GetSessions 方法
在此 Broker 運作所在的 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 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。