次の方法で共有


IQuickInfoBroker Interface

Defines a Quick Info broker.

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

Syntax

'宣言
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
Public method CreateQuickInfoSession Creates but does not start a Quick Info session at the specified location in the ITextBuffer.
Public method GetSessions Gets the set of active Quick Info sessions for the ITextView in which this broker operates.
Public method IsQuickInfoActive Determines whether there is at least one active Quick Info session in the specified ITextView.
Public method TriggerQuickInfo(ITextView) Triggers Quick Info at the position of the caret in the specified ITextView.
Public method 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.

See Also

Reference

Microsoft.VisualStudio.Language.Intellisense Namespace