ICompletionBroker.TriggerCompletion Method (ITextView)

Starts the process of statement completion, assuming the caret position to be the position at which completions should be inserted.

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

ICompletionSession TriggerCompletion(
	ITextView textView
)

Parameters

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

The ITextView over which to trigger statement completion.

Return Value

Type: Microsoft.VisualStudio.Language.Intellisense.ICompletionSession
A IStatementCompletionSession. This may be null if no session could be created.

When the caret leaves the applicability span of all the completions in this session, the session will be dismissed.

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2015 Microsoft