Click or drag to resize

CompletionTriggerKind Class



The kind of action that triggered completion to start.
Inheritance Hierarchy
SystemEnum
  Microsoft.CodeAnalysis.CompletionCompletionTriggerKind

Namespace:  Microsoft.CodeAnalysis.Completion
Assembly:  Microsoft.CodeAnalysis.Features (in Microsoft.CodeAnalysis.Features.dll) Version: 2.3.0-dev-56735-00. Commit Hash: <developer build>
Syntax
public sealed class CompletionTriggerKind : Enum

The CompletionTriggerKind type exposes the following members.

Fields
  NameDescription
Public fieldStatic memberDeletion
Completion was triggered via an action deleting a character from the document.
Public fieldStatic memberInsertion
Completion was triggered via an action inserting a character into the document.
Public fieldStatic memberInvoke
Completion was trigger by a direct invocation of the completion feature (ctrl-j in Visual Studio).
Public fieldStatic memberInvokeAndCommitIfUnique
Completion was triggered with a request to commit if a unique item would be selected (ctrl-space in Visual Studio).
Public fieldStatic memberOther Obsolete.
Completion was triggered via some other mechanism.
Public fieldStatic memberSnippets
Completion was triggered for snippets only.
Public fieldvalue__
Top
See Also