Share via


ILightBulbBroker.GetSuggestedActionsSources(ITextView, ITextBuffer) Method

Definition

Gets a list of ISuggestedActionsSources for given ITextView and ITextBuffer.

public:
 System::Collections::Generic::IEnumerable<Microsoft::VisualStudio::Language::Intellisense::ISuggestedActionsSource ^> ^ GetSuggestedActionsSources(Microsoft::VisualStudio::Text::Editor::ITextView ^ textView, Microsoft::VisualStudio::Text::ITextBuffer ^ buffer);
public System.Collections.Generic.IEnumerable<Microsoft.VisualStudio.Language.Intellisense.ISuggestedActionsSource> GetSuggestedActionsSources (Microsoft.VisualStudio.Text.Editor.ITextView textView, Microsoft.VisualStudio.Text.ITextBuffer buffer);
abstract member GetSuggestedActionsSources : Microsoft.VisualStudio.Text.Editor.ITextView * Microsoft.VisualStudio.Text.ITextBuffer -> seq<Microsoft.VisualStudio.Language.Intellisense.ISuggestedActionsSource>
Public Function GetSuggestedActionsSources (textView As ITextView, buffer As ITextBuffer) As IEnumerable(Of ISuggestedActionsSource)

Parameters

textView
ITextView

The ITextView for which to get the list of ISuggestedActionsSources.

buffer
ITextBuffer

The ITextBuffer for which to get the list of ISuggestedActionsSources.

Returns

A list of ISuggestedActionsSources for given ITextView and ITextBuffer or null if no ISuggestedActionsSources support given ITextView and ITextBuffer.

Applies to