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)
Syntax
'Declaración
Public Interface ICompletionBroker
public interface ICompletionBroker
public interface class ICompletionBroker
type ICompletionBroker = interface end
public interface ICompletionBroker
The ICompletionBroker type exposes the following members.
Methods
Name | Description | |
---|---|---|
CreateCompletionSession | Creates a completion session, but does not start it. | |
DismissAllSessions | Dismisses all active statement completion sessions. | |
GetSessions | Gets the list of active statement completion sessions. | |
IsCompletionActive | Determines whether or not statement completion is active over the specified ITextView. | |
TriggerCompletion(ITextView) | Starts the process of statement completion, assuming the caret position to be the position at which completions should be inserted. | |
TriggerCompletion(ITextView, ITrackingPoint, Boolean) | Starts the process of statement completion at the specified position. |
Top
Remarks
This interface should be imported as follows:
[Import]
internal ICompletionBroker CompletionBroker { get; set; }
Examples
For an example of this interface, see Walkthrough: Displaying Statement Completion.