ICompletionSession ICompletionSession ICompletionSession ICompletionSession Interface


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

public interface class ICompletionSession : Microsoft::VisualStudio::Language::Intellisense::IIntellisenseSession, Microsoft::VisualStudio::Utilities::IPropertyOwner
public interface ICompletionSession : Microsoft.VisualStudio.Language.Intellisense.IIntellisenseSession, Microsoft.VisualStudio.Utilities.IPropertyOwner
type ICompletionSession = interface
    interface IIntellisenseSession
    interface IPropertyOwner
Public Interface ICompletionSession
Implements IIntellisenseSession, IPropertyOwner


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


CompletionSets CompletionSets CompletionSets CompletionSets

Gets the collection of CompletionSet objects.

IsStarted IsStarted IsStarted IsStarted

Determines whether the completion session has been started.

SelectedCompletionSet SelectedCompletionSet SelectedCompletionSet SelectedCompletionSet

Gets or sets the selected CompletionSet.


Commit() Commit() Commit() Commit()

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

Filter() Filter() Filter() Filter()

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


Committed Committed Committed Committed

Raised after a completion session is committed.

SelectedCompletionSetChanged SelectedCompletionSetChanged SelectedCompletionSetChanged SelectedCompletionSetChanged

Raised when the SelectedCompletionSet property changes.

Applies to