次の方法で共有


IQuickInfoBroker.GetSessions(ITextView) Method

Definition

Gets the set of active Quick Info sessions for the ITextView in which this broker operates.

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

Parameters

textView
ITextView

The ITextView for which Quick Info sessions should be returned.

Returns

The list of valid Quick Info sessions active over the specified ITextView.

Applies to