ILightBulbBroker::TryExpandSession Method (ISuggestedActionCategorySet^, ITextView^, ITrackingPoint^, ITrackingSpan^, Boolean)
Visual Studio 2015
Tries to create and expand ILightBulbSession for the specified ITextView.
Assembly: Microsoft.VisualStudio.Language.Intellisense (in Microsoft.VisualStudio.Language.Intellisense.dll)
bool TryExpandSession( ISuggestedActionCategorySet^ requestedActionCategories, ITextView^ textView, ITrackingPoint^ triggerPoint, ITrackingSpan^ triggerSpan, bool trackMouse )
Parameters
- requestedActionCategories
-
Type:
Microsoft.VisualStudio.Language.Intellisense::ISuggestedActionCategorySet^
A set of suggested action categories requested.
- textView
-
Type:
Microsoft.VisualStudio.Text.Editor::ITextView^
The ITextView for which to create and expand an ILightBulbSession.
- triggerPoint
-
Type:
Microsoft.VisualStudio.Text::ITrackingPoint^
The ITrackingPoint in the text buffer at which to create an ILightBulbSession.
- triggerSpan
-
Type:
Microsoft.VisualStudio.Text::ITrackingSpan^
The ITrackingSpan in the text buffer for which to create an ILightBulbSession.
- trackMouse
-
Type:
System::Boolean
Determines whether the session should track the mouse.
Return Value
Type: System::Booleantrueif ILightBulbSession was successfully created and expanded, false otherwise.Boolean.
Show: