ILightBulbBroker::HasSuggestedActionsAsync Method (ISuggestedActionCategorySet^, ITextView^, CancellationToken)
Visual Studio 2015
Asynchronously determines whether any ISuggestedActions are associated with a given trigger point position and span in a given ITextView.
Assembly: Microsoft.VisualStudio.Language.Intellisense (in Microsoft.VisualStudio.Language.Intellisense.dll)
Task<bool>^ HasSuggestedActionsAsync(
ISuggestedActionCategorySet^ requestedActionCategories,
ITextView^ textView,
CancellationToken cancellationToken
)
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 whether any ISuggestedActions are associated with the current caret position.
- cancellationToken
-
Type:
System.Threading::CancellationToken
A cancellation token to cancel this asynchronous operation.
Return Value
Type: System.Threading.Tasks::Task<Boolean>^A task that returns true if any ISuggestedActions are associated with the current caret position in a given ITextView, false otherwise.
Show: