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 class ICompletionBroker

The ICompletionBroker type exposes the following members.

Public methodCreateCompletionSessionCreates a completion session, but does not start it.
Public methodDismissAllSessionsDismisses all active statement completion sessions.
Public methodGetSessionsGets the list of active statement completion sessions.
Public methodIsCompletionActiveDetermines whether or not statement completion is active over the specified ITextView.
Public methodTriggerCompletion(ITextView)Starts the process of statement completion, assuming the caret position to be the position at which completions should be inserted.
Public methodTriggerCompletion(ITextView, ITrackingPoint, Boolean)Starts the process of statement completion at the specified position.

This interface should be imported as follows:

internal ICompletionBroker CompletionBroker { get; set; }

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

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