Share via


IIntellisenseSession Interface

Definition

Represents an IntelliSense session, or a single instance of the IntelliSense process.

public interface class IIntellisenseSession : Microsoft::VisualStudio::Utilities::IPropertyOwner
public interface class IIntellisenseSession : Microsoft::VisualStudio::Utilities::IPropertyOwner
__interface IIntellisenseSession : Microsoft::VisualStudio::Utilities::IPropertyOwner
public interface IIntellisenseSession : Microsoft.VisualStudio.Utilities.IPropertyOwner
type IIntellisenseSession = interface
    interface IPropertyOwner
Public Interface IIntellisenseSession
Implements IPropertyOwner
Derived
Implements

Remarks

A session is returned by each IntelliSense triggering operation, and can be used to control the process of IntelliSense operations. IntelliSense sessions are aggregated into a stack, managed by an IIntellisenseSessionStack instance.

Properties

IsDismissed

Determines whether the session is dismissed.

Presenter

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

Properties

The collection of properties controlled by the property owner.

(Inherited from IPropertyOwner)
TextView

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

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.

Dismiss()

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

GetTriggerPoint(ITextBuffer)

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

GetTriggerPoint(ITextSnapshot)

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

Match()

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

Recalculate()

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

Start()

Starts the session.

Events

Dismissed

Occurs when the session is dismissed.

PresenterChanged

Occurs when the IntelliSense presenter for this session changes.

Recalculated

Occurs when the session is recalculated.

Applies to