Поделиться через


IIntellisenseControllerProvider.TryCreateIntellisenseController - метод

Пытается создать контроллер IntelliSense для конкретного представления текста.

Пространство имен:  Microsoft.VisualStudio.Language.Intellisense
Сборка:  Microsoft.VisualStudio.Language.Intellisense (в Microsoft.VisualStudio.Language.Intellisense.dll)

Синтаксис

'Декларация
Function TryCreateIntellisenseController ( _
    textView As ITextView, _
    subjectBuffers As IList(Of ITextBuffer) _
) As IIntellisenseController
IIntellisenseController TryCreateIntellisenseController(
    ITextView textView,
    IList<ITextBuffer> subjectBuffers
)
IIntellisenseController^ TryCreateIntellisenseController(
    ITextView^ textView, 
    IList<ITextBuffer^>^ subjectBuffers
)
abstract TryCreateIntellisenseController : 
        textView:ITextView * 
        subjectBuffers:IList<ITextBuffer> -> IIntellisenseController
function TryCreateIntellisenseController(
    textView : ITextView, 
    subjectBuffers : IList<ITextBuffer>
) : IIntellisenseController

Параметры

  • subjectBuffers
    Тип: IList<ITextBuffer>

    Набор текстовых буферов с соответствующими типами контента, которые потенциально видимы в представлении.

Возвращаемое значение

Тип: Microsoft.VisualStudio.Language.Intellisense.IIntellisenseController
Допустимый контроллер IntelliSense или nullссылка NULL (Nothing в Visual Basic) если создать ничего не удалось.

Безопасность платформы .NET Framework

См. также

Ссылки

IIntellisenseControllerProvider Интерфейс

Microsoft.VisualStudio.Language.Intellisense - пространство имен