IIntellisenseControllerProvider.TryCreateIntellisenseController Method (ITextView, IList<ITextBuffer>)

 

Attempts to create an IntelliSense controller for a specific text view.

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

IIntellisenseController TryCreateIntellisenseController(
	ITextView textView,
	IList<ITextBuffer> subjectBuffers
)

Parameters

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

The text view for which a controller should be created.

subjectBuffers
Type: System.Collections.Generic.IList<ITextBuffer>

The set of text buffers with matching content types that are potentially visible in the view.

Return Value

Type: Microsoft.VisualStudio.Language.Intellisense.IIntellisenseController

A valid IntelliSense controller, or null if none could be created.

Return to top
Show: