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
'宣告
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
- textView
Type: Microsoft.VisualStudio.Text.Editor.ITextView
The ITextView over which to retrieve a list of smart tag sessions.
Return Value
Type: System.Collections.ObjectModel.ReadOnlyCollection<ISmartTagSession>
A list of smart tag sessions for the specified ITextView.
.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.