Partager via


IQuickInfoSession2 Interface

Definition

Caution

Use IAsyncQuickInfoSession instead

Extends IQuickInfoSession with support for an interactive Quick Info content.

public interface class IQuickInfoSession2 : Microsoft::VisualStudio::Language::Intellisense::IQuickInfoSession, Microsoft::VisualStudio::Utilities::IPropertyOwner
public interface class IQuickInfoSession2 : Microsoft::VisualStudio::Language::Intellisense::IQuickInfoSession, Microsoft::VisualStudio::Utilities::IPropertyOwner
__interface IQuickInfoSession2 : Microsoft::VisualStudio::Language::Intellisense::IQuickInfoSession, Microsoft::VisualStudio::Utilities::IPropertyOwner
public interface IQuickInfoSession2 : Microsoft.VisualStudio.Language.Intellisense.IQuickInfoSession, Microsoft.VisualStudio.Utilities.IPropertyOwner
[System.Obsolete("Use IAsyncQuickInfoSession instead")]
public interface IQuickInfoSession2 : Microsoft.VisualStudio.Language.Intellisense.IQuickInfoSession, Microsoft.VisualStudio.Utilities.IPropertyOwner
type IQuickInfoSession2 = interface
    interface IQuickInfoSession
    interface IIntellisenseSession
    interface IPropertyOwner
[<System.Obsolete("Use IAsyncQuickInfoSession instead")>]
type IQuickInfoSession2 = interface
    interface IQuickInfoSession
    interface IIntellisenseSession
    interface IPropertyOwner
Public Interface IQuickInfoSession2
Implements IPropertyOwner, IQuickInfoSession
Attributes
Implements

Properties

ApplicableToSpan

Gets the applicability span for this session.

(Inherited from IQuickInfoSession)
HasInteractiveContent

This IQuickInfoSession contains an interactive content.

IsDismissed

Determines whether the session is dismissed.

(Inherited from IIntellisenseSession)
Presenter

Gets the IIntellisensePresenter that is used to render IntelliSense for this session.

(Inherited from IIntellisenseSession)
Properties

The collection of properties controlled by the property owner.

(Inherited from IPropertyOwner)
QuickInfoContent

Gets the content that will be displayed by this session.

(Inherited from IQuickInfoSession)
TextView

Gets the ITextView inside of which this IntelliSense session was triggered.

(Inherited from IIntellisenseSession)
TrackMouse

Determines whether this session tracks the mouse.

(Inherited from IQuickInfoSession)

Methods

Collapse()

Collapses the session to an unobtrusive state in which it doesn't get in the way of the user. If the session has no such state, the session will be dismissed.

(Inherited from IIntellisenseSession)
Dismiss()

Dismisses the session, causing the presenter to be destroyed and the session to be removed from the session stack.

(Inherited from IIntellisenseSession)
GetTriggerPoint(ITextBuffer)

Gets the ITrackingPoint at which this IntelliSense session was triggered in terms of the specified ITextBuffer.

(Inherited from IIntellisenseSession)
GetTriggerPoint(ITextSnapshot)

Gets the SnapshotPoint at which this IntelliSense session was triggered in terms of the specified ITextSnapshot.

(Inherited from IIntellisenseSession)
Match()

Determines the best matching item in the session and sets the selection to this item.

(Inherited from IIntellisenseSession)
Recalculate()

Recalculates the underlying IntelliSense items pertaining to this session, using the same trigger point.

(Inherited from IIntellisenseSession)
Start()

Starts the session.

(Inherited from IIntellisenseSession)

Events

ApplicableToSpanChanged

Occurs when the ApplicableToSpan property on this session changes.

(Inherited from IQuickInfoSession)
Dismissed

Occurs when the session is dismissed.

(Inherited from IIntellisenseSession)
PresenterChanged

Occurs when the IntelliSense presenter for this session changes.

(Inherited from IIntellisenseSession)
Recalculated

Occurs when the session is recalculated.

(Inherited from IIntellisenseSession)

Applies to