ISmartTagBroker.GetSessions(ITextView) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Returns
A list of smart tag sessions for the specified ITextView.