Share via


ICompletionBroker.GetSessions(ITextView) Method

Definition

Gets the list of active statement completion sessions.

public:
 System::Collections::ObjectModel::ReadOnlyCollection<Microsoft::VisualStudio::Language::Intellisense::ICompletionSession ^> ^ GetSessions(Microsoft::VisualStudio::Text::Editor::ITextView ^ textView);
public System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.VisualStudio.Language.Intellisense.ICompletionSession> GetSessions (Microsoft.VisualStudio.Text.Editor.ITextView textView);
abstract member GetSessions : Microsoft.VisualStudio.Text.Editor.ITextView -> System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.VisualStudio.Language.Intellisense.ICompletionSession>
Public Function GetSessions (textView As ITextView) As ReadOnlyCollection(Of ICompletionSession)

Parameters

textView
ITextView

The ITextView for which to get completions.

Returns

A ReadOnlyCollection<T> of type ICompletionSession.

Applies to