IIntellisenseSession Interface

 

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

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

public interface IIntellisenseSession : IPropertyOwner

NameDescription
System_CAPS_pubpropertyIsDismissed

Determines whether the session is dismissed.

System_CAPS_pubpropertyPresenter

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

System_CAPS_pubpropertyProperties

(Inherited from IPropertyOwner.)

System_CAPS_pubpropertyTextView

Gets the ITextView in which this IntelliSense session was triggered.

NameDescription
System_CAPS_pubmethodCollapse()

Reduces the session to a minimized state. If the session has no such state, the session will be dismissed.

System_CAPS_pubmethodDismiss()

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

System_CAPS_pubmethodGetTriggerPoint(ITextBuffer)

Gets the ITrackingPoint at which this IntelliSense session was triggered for the specified ITextBuffer.

System_CAPS_pubmethodGetTriggerPoint(ITextSnapshot)

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

System_CAPS_pubmethodMatch()

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

System_CAPS_pubmethodRecalculate()

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

System_CAPS_pubmethodStart()

Starts the session.

NameDescription
System_CAPS_pubeventDismissed

Occurs when the session is dismissed.

System_CAPS_pubeventPresenterChanged

Occurs when the IntelliSense presenter for this session changes.

System_CAPS_pubeventRecalculated

Occurs when the session is recalculated.

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.

The interfaces ICompletionSession, IQuickInfoSession, ISignatureHelpSession, and ISmartTagSession implement this interface.

For more information about IntelliSense, see Editor Extension Points.

Return to top
Show: