Partilhar via


ICompletionBroker Interface

Definition

Represents the central broker responsible for statement completion.

public interface class ICompletionBroker
public interface class ICompletionBroker
__interface ICompletionBroker
public interface ICompletionBroker
type ICompletionBroker = interface
Public Interface ICompletionBroker

Examples

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

Remarks

This interface should be imported as follows:

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

Methods

CreateCompletionSession(ITextView, ITrackingPoint, Boolean)

Creates a completion session, but does not start it.

DismissAllSessions(ITextView)

Dismisses all active statement completion sessions.

GetSessions(ITextView)

Gets the list of active statement completion sessions.

IsCompletionActive(ITextView)

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

TriggerCompletion(ITextView, ITrackingPoint, Boolean)

Starts the process of statement completion at a particular position. When called with a specific trigger point, caret movements will be ignored and the broker will not be responsible for dismissing the session.

TriggerCompletion(ITextView)

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

Applies to