Click or drag to resize

MatchPriority Class

An additional hint to the matching algorithm that can augment or override the existing text-based matching.
Inheritance Hierarchy

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

The MatchPriority type exposes the following members.

Public fieldStatic memberDefault
The matching algorithm should give this item no special treatment. Ordinary CompletionProviders typically specify this.
Public fieldStatic memberPreselect
The matching algorithm will tend to prefer this item unless a dramatically better text-based match is available. With no filter text, this item (or the first item alphabeitcally with this priority) should always be selected. test This is used for specific IDE scenarios like "Object creation preselection" or "Enum preselection" or "Completion list tag preselection".
See Also