Share via


ISuggestedActionsSourceProvider.CreateSuggestedActionsSource Method

Definition

Creates suggested actions source for a given text buffer.

public:
 Microsoft::VisualStudio::Language::Intellisense::ISuggestedActionsSource ^ CreateSuggestedActionsSource(Microsoft::VisualStudio::Text::Editor::ITextView ^ textView, Microsoft::VisualStudio::Text::ITextBuffer ^ textBuffer);
public Microsoft.VisualStudio.Language.Intellisense.ISuggestedActionsSource CreateSuggestedActionsSource (Microsoft.VisualStudio.Text.Editor.ITextView textView, Microsoft.VisualStudio.Text.ITextBuffer textBuffer);
abstract member CreateSuggestedActionsSource : Microsoft.VisualStudio.Text.Editor.ITextView * Microsoft.VisualStudio.Text.ITextBuffer -> Microsoft.VisualStudio.Language.Intellisense.ISuggestedActionsSource
Public Function CreateSuggestedActionsSource (textView As ITextView, textBuffer As ITextBuffer) As ISuggestedActionsSource

Parameters

textView
ITextView

The text view for which to create a suggested actions source.

textBuffer
ITextBuffer

The text buffer for which to create a suggested actions source.

Returns

The ISuggestedActionsSource, or null if no suggested actions source could be created.

Applies to