IQuickInfoBroker Interface
Defines a Quick Info broker.
Namespace: Microsoft.VisualStudio.Language.Intellisense
Assembly: Microsoft.VisualStudio.Language.Intellisense (in Microsoft.VisualStudio.Language.Intellisense.dll)
Syntax
'Declaração
Public Interface IQuickInfoBroker
public interface IQuickInfoBroker
public interface class IQuickInfoBroker
type IQuickInfoBroker = interface end
public interface IQuickInfoBroker
The IQuickInfoBroker type exposes the following members.
Methods
Name | Description | |
---|---|---|
CreateQuickInfoSession | Creates but does not start a Quick Info session at the specified location in the ITextBuffer. | |
GetSessions | Gets the set of active Quick Info sessions for the ITextView in which this broker operates. | |
IsQuickInfoActive | Determines whether there is at least one active Quick Info session in the specified ITextView. | |
TriggerQuickInfo(ITextView) | Triggers Quick Info at the position of the caret in the specified ITextView. | |
TriggerQuickInfo(ITextView, ITrackingPoint, Boolean) | Triggers Quick Info at the specified position in the buffer, either tracking or not tracking the mouse. |
Top
Remarks
The broker is responsible for triggering Quick Info sessions. It should be imported as follows:
[Import]
internal IQuickInfoBroker QuickInfoBroker { get; set; }
Examples
For an example of the use of this interface, see Walkthrough: Displaying QuickInfo Tooltips.