Partager via


IAsyncQuickInfoBroker.GetSession(ITextView) Method

Definition

Gets the current IAsyncQuickInfoSession for the ITextView.

public:
 Microsoft::VisualStudio::Language::Intellisense::IAsyncQuickInfoSession ^ GetSession(Microsoft::VisualStudio::Text::Editor::ITextView ^ textView);
public Microsoft.VisualStudio.Language.Intellisense.IAsyncQuickInfoSession GetSession (Microsoft.VisualStudio.Text.Editor.ITextView textView);
abstract member GetSession : Microsoft.VisualStudio.Text.Editor.ITextView -> Microsoft.VisualStudio.Language.Intellisense.IAsyncQuickInfoSession
Public Function GetSession (textView As ITextView) As IAsyncQuickInfoSession

Parameters

textView
ITextView

The ITextView for which to lookup the session.

Returns

The session, or null if there is no active session.

Remarks

Quick info is considered to be active if there is a visible, calculating, or recalculating quick info session.

Applies to