ICompletionBroker Interface

 

Represents the central broker responsible for statement completion.

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

public interface ICompletionBroker

NameDescription
System_CAPS_pubmethodCreateCompletionSession(ITextView, ITrackingPoint, Boolean)

Creates a completion session, but does not start it.

System_CAPS_pubmethodDismissAllSessions(ITextView)

Dismisses all active statement completion sessions.

System_CAPS_pubmethodGetSessions(ITextView)

Gets the list of active statement completion sessions.

System_CAPS_pubmethodIsCompletionActive(ITextView)

Determines whether or not statement completion is active over the specified ITextView.

System_CAPS_pubmethodTriggerCompletion(ITextView)

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

System_CAPS_pubmethodTriggerCompletion(ITextView, ITrackingPoint, Boolean)

Starts the process of statement completion at the specified position.

This interface should be imported as follows:

[Import]
internal ICompletionBroker CompletionBroker { get; set; }

For an example of this interface, see Walkthrough: Displaying Statement Completion.

Return to top
Show: