IAsyncQuickInfoBroker.GetSession(ITextView) 方法

定义

获取 IAsyncQuickInfoSession 的当前 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

参数

textView
ITextView

ITextView要查找其会话的。

返回

IAsyncQuickInfoSession

会话,如果没有活动会话,则 为 null

注解

如果 "快速信息" 会话可见、正在计算或正在重新计算,则 "快速信息" 被视为处于活动状态。

适用于