Partager via


ISmartTagBroker.GetSessions Method

Gets the list of currently-active smart tag sessions for the specified text view.

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 ISmartTagSession)
ReadOnlyCollection<ISmartTagSession> GetSessions(
    ITextView textView
)
ReadOnlyCollection<ISmartTagSession^>^ GetSessions(
    ITextView^ textView
)
abstract GetSessions : 
        textView:ITextView -> ReadOnlyCollection<ISmartTagSession> 
function GetSessions(
    textView : ITextView
) : ReadOnlyCollection<ISmartTagSession>

Parameters

Return Value

Type: System.Collections.ObjectModel.ReadOnlyCollection<ISmartTagSession>
A list of smart tag sessions for the specified ITextView.

.NET Framework Security

See Also

Reference

ISmartTagBroker Interface

Microsoft.VisualStudio.Language.Intellisense Namespace