IQuickInfoBroker Interface

Defines a Quick Info broker.

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

public interface IQuickInfoBroker

The IQuickInfoBroker type exposes the following members.

Public methodCreateQuickInfoSessionCreates but does not start a Quick Info session at the specified location in the ITextBuffer.
Public methodGetSessionsGets the set of active Quick Info sessions for the ITextView in which this broker operates.
Public methodIsQuickInfoActiveDetermines whether there is at least one active Quick Info session in the specified ITextView.
Public methodTriggerQuickInfo(ITextView)Triggers Quick Info at the position of the caret in the specified ITextView.
Public methodTriggerQuickInfo(ITextView, ITrackingPoint, Boolean)Triggers Quick Info at the specified position in the buffer, either tracking or not tracking the mouse.

The broker is responsible for triggering Quick Info sessions. It should be imported as follows:

internal IQuickInfoBroker QuickInfoBroker { get; set; }

For an example of the use of this interface, see Walkthrough: Displaying QuickInfo Tooltips.