IIntellisenseControllerProvider.TryCreateIntellisenseController Method

Definition

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

C++
public:
 Microsoft::VisualStudio::Language::Intellisense::IIntellisenseController ^ TryCreateIntellisenseController(Microsoft::VisualStudio::Text::Editor::ITextView ^ textView, System::Collections::Generic::IList<Microsoft::VisualStudio::Text::ITextBuffer ^> ^ subjectBuffers);

Parameters

textView
ITextView

The text view for which a controller should be created.

subjectBuffers
IList<ITextBuffer>

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

Returns

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

Applies to

Product Versions
Visual Studio SDK 2015, 2017, 2019, 2022