TriggerCompletion Method (ITextView)

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


Type: Microsoft.VisualStudio.Text.Editor.ITextView

The ITextView over which to trigger statement completion.

Return Value

Type: Microsoft.VisualStudio.Language.Intellisense.ICompletionSession

A T:Microsoft.VisualStudio.Language.Intellisense.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.

Return to top
© 2015 Microsoft