ILightBulbBroker::CanCreateSession Method (ISuggestedActionCategorySet^, ITextView^)
Visual Studio 2015
Determines whether an ILightBulbSession can be created for a given ITextView with the current caret position as a trigger point.
Assembly: Microsoft.VisualStudio.Language.Intellisense (in Microsoft.VisualStudio.Language.Intellisense.dll)
bool CanCreateSession(
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 determine if an ILightBulbSession can be created.
Show: