ISuggestedActionsSourceProvider.CreateSuggestedActionsSource Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.