ILightBulbBroker::CanCreateSession Method (ISuggestedActionCategorySet^, ITextView^, ITrackingPoint^)

Visual Studio 2015
 

Determines whether an ILightBulbSession can be created for a given ITextView at a given trigger point.

Namespace:   Microsoft.VisualStudio.Language.Intellisense
Assembly:  Microsoft.VisualStudio.Language.Intellisense (in Microsoft.VisualStudio.Language.Intellisense.dll)

bool CanCreateSession(
	ISuggestedActionCategorySet^ requestedActionCategories,
	ITextView^ textView,
	ITrackingPoint^ triggerPoint
)

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.

triggerPoint
Type: Microsoft.VisualStudio.Text::ITrackingPoint^

The ITrackingPoint> in the text buffer at which to determine if an ILightBulbSession can be created.

Return Value

Type: System::Boolean

True if a session can be created, false otherwise.

Return to top
Show: