Click or drag to resize

CompletionItemSelectionBehavior Class



Inheritance Hierarchy
SystemEnum
  Microsoft.CodeAnalysis.CompletionCompletionItemSelectionBehavior

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 CompletionItemSelectionBehavior : Enum

The CompletionItemSelectionBehavior type exposes the following members.

Fields
  NameDescription
Public fieldStatic memberDefault
Public fieldStatic memberHardSelection
If no text has been typed, the item should be hard selected. This is appropriate for completion providers that are providing suggestions the user is nearly certain to select. Because the item is hard selected, any commit characters typed after it will cause it to be committed.
Public fieldStatic memberSoftSelection
If no text has been typed, the item should be soft selected. This is appropriate for completion providers that want to provide suggestions that shouldn't interfere with typing. For example a provider that comes up on space might offer items that are soft selected so that an additional space (or other puntuation character) will not then commit that item.
Public fieldvalue__
Top
See Also