MatchKind Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Caution
MatchKind is being replaced with PatternMatch and PatternMatchKind. Please remove all references and replace them with PatternMatch objects.
Indicates how a symbol matched a search string.
public enum class MatchKind
public enum class MatchKind
enum MatchKind
public enum MatchKind
[System.Obsolete("MatchKind is being replaced with PatternMatch and PatternMatchKind. Please remove all references and replace them with PatternMatch objects.")]
public enum MatchKind
type MatchKind =
[<System.Obsolete("MatchKind is being replaced with PatternMatch and PatternMatchKind. Please remove all references and replace them with PatternMatch objects.")>]
type MatchKind =
Public Enum MatchKind
- Inheritance
-
MatchKind
- Attributes
Fields
Name | Value | Description |
---|---|---|
Exact | 0 | The symbol name and search string match exactly. |
Prefix | 1 | The symbol name starts with the search string. |
Substring | 2 | The entire search string is found in the symbol name, but not at the beginning. |
Regular | 3 | The symbol matches in some way, but is not an exact or prefix match. For example, if all of the search terms appear in the name, or there is a camel-case match. |
None | 4 | The symbol name does not match the search string at all. This member is provided for completeness; symbols that do not match the search string should not be reported to the callback at all. |