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
- 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 nulla null reference (Nothing in Visual Basic) if none could be created.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.