Partager via


ISmartTagBroker.GetSessions(ITextView) Method

Definition

Gets the list of currently-active smart tag sessions for the specified text view.Smart tags are deprecated in favor of light bulbs. See ILightBulbBroker for a replacement.

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

Parameters

textView
ITextView

The ITextView over which to retrieve a list of smart tag sessions.

Returns

A list of smart tag sessions for the specified ITextView.

Applies to