ICompletionBroker.GetSessions Method
Gets the list of active statement completion sessions.
Namespace: Microsoft.VisualStudio.Language.Intellisense
Assembly: Microsoft.VisualStudio.Language.Intellisense (in Microsoft.VisualStudio.Language.Intellisense.dll)
Syntax
'Déclaration
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>
Parameters
- textView
Type: Microsoft.VisualStudio.Text.Editor.ITextView
The ITextView for which to get completions.
Return Value
Type: System.Collections.ObjectModel.ReadOnlyCollection<ICompletionSession>
A ReadOnlyCollection<T> of type ICompletionSession.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.