Partilhar via


IIntellisenseSessionStack Interface

Represents a stack of IntelliSense sessions. The stack manages session activation and currency.

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

Syntax

'Declaração
Public Interface IIntellisenseSessionStack
public interface IIntellisenseSessionStack
public interface class IIntellisenseSessionStack
type IIntellisenseSessionStack =  interface end
public interface IIntellisenseSessionStack

The IIntellisenseSessionStack type exposes the following members.

Properties

  Name Description
Public property Sessions Gets the list of sessions in the stack, ordered from bottom to top.
Public property TopSession Gets the topmost session in the stack.

Top

Methods

  Name Description
Public method CollapseAllSessions Reduces all sessions in the session stack to their collapsed (or minimized) state, or dismisses them if they have no such state.
Public method MoveSessionToTop Moves a session already in the session stack to the top of the stack.
Public method PopSession Removes the topmost session from the stack and returns it.
Public method PushSession Adds a session to the top of the stack.

Top

Remarks

Each IntelliSense session is part of the stack, whether or not it appears in a text view popup. The topmost session on the stack has special privileges, such as being able to capture keystrokes from the keyboard.

See Also

Reference

Microsoft.VisualStudio.Language.Intellisense Namespace