次の方法で共有


ILightBulbBroker.GetSession(ITextView) Method

Definition

Gets the active ILightBulbSession for the specified ITextView.

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

Parameters

textView
ITextView

The ITextView for which to get an ILightBulbSession.

Returns

The valid active ILightBulbSession for the given ITextView or null if it doesn't exist.

Applies to