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
'Declaration
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.ITextViewThe ITextView for which to get completions.
Return Value
Type: ReadOnlyCollection<ICompletionSession>
A ReadOnlyCollection 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.