ICompletionSession Interface

Definition

Represents a statement completion session, which is a type of IntelliSense session.

public interface ICompletionSession : Microsoft.VisualStudio.Language.Intellisense.IIntellisenseSession, Microsoft.VisualStudio.Utilities.IPropertyOwner
Implements

Examples

For an example of this interface, see Walkthrough: Displaying Statement Completion.

Properties

CompletionSets

Gets the collection of CompletionSet objects.

IsStarted

Determines whether the completion session has been started.

SelectedCompletionSet

Gets or sets the selected CompletionSet.

Methods

Commit()

Commits a completion session. The selected completion's insertion text is inserted into the buffer in the place of its applicability span.

Filter()

Filters the session's completion items, based on the current state of the text buffer.

Events

Committed

Raised after a completion session is committed.

SelectedCompletionSetChanged

Raised when the SelectedCompletionSet property changes.

Applies to