Partager via


IIntellisenseControllerProvider.TryCreateIntellisenseController Method

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)

Syntax

'Declaration
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

Parameters

  • subjectBuffers
    Type: 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 nulla null reference (Nothing in Visual Basic) if none could be created.

.NET Framework Security

See Also

Reference

IIntellisenseControllerProvider Interface

Microsoft.VisualStudio.Language.Intellisense Namespace