Condividi tramite


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

'Dichiarazione
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
Public method CreateCompletionSession Creates a completion session, but does not start it.
Public method DismissAllSessions Dismisses all active statement completion sessions.
Public method GetSessions Gets the list of active statement completion sessions.
Public method IsCompletionActive Determines whether or not statement completion is active over the specified ITextView.
Public method TriggerCompletion(ITextView) Starts the process of statement completion, assuming the caret position to be the position at which completions should be inserted.
Public method 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.

See Also

Reference

Microsoft.VisualStudio.Language.Intellisense Namespace