ILightBulbBroker::CreateSession Method (ISuggestedActionCategorySet^, ITextView^)
Visual Studio 2015
Creates, but doesn't expand an ILightBulbSession for a given ITextView.
Assembly: Microsoft.VisualStudio.Language.Intellisense (in Microsoft.VisualStudio.Language.Intellisense.dll)
ILightBulbSession^ CreateSession( ISuggestedActionCategorySet^ requestedActionCategories, ITextView^ textView )
Parameters
- requestedActionCategories
-
Type:
Microsoft.VisualStudio.Language.Intellisense::ISuggestedActionCategorySet^
A set of suggested action categories.
- textView
-
Type:
Microsoft.VisualStudio.Text.Editor::ITextView^
The ITextView over which to create an ILightBulbSession.
Return Value
Type: Microsoft.VisualStudio.Language.Intellisense::ILightBulbSession^A valid instance of ILightBulbSession, or null if no ILightBulbSession can be created for the given text view.
Show: