ISuggestedActionsSourceProvider.CreateSuggestedActionsSource Method (ITextView, ITextBuffer)

Visual Studio 2015
 

Creates suggested actions source for a given text buffer.

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

Function CreateSuggestedActionsSource (
	textView As ITextView,
	textBuffer As ITextBuffer
) As ISuggestedActionsSource

Parameters

textView
Type: Microsoft.VisualStudio.Text.Editor.ITextView

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

textBuffer
Type: Microsoft.VisualStudio.Text.ITextBuffer

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

Return Value

Type: Microsoft.VisualStudio.Language.Intellisense.ISuggestedActionsSource

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

Return to top
Show: