YamlKeyKind enum
What the current YamlTokenType.PropertyName token of a Utf8YamlReader stands for.
Namespace: System.Text.Yaml ยท Assembly: Styml.dll
public enum YamlKeyKind : byte
What the current YamlTokenType.PropertyName token of a Utf8YamlReader stands for.
FieldsLink to this heading
| Name | Value | Description |
|---|---|---|
None |
0 | The current token is not a mapping key. |
Scalar |
1 | A scalar key: Utf8YamlReader.ValueSpan holds its text, read with the string accessors. |
Alias |
2 | An alias key (*name : value): Utf8YamlReader.ValueSpan holds the anchor name, which is not the key's text, so the string accessors throw InvalidOperationException. |
Complex |
3 | A collection used as a key (? [a, b]). Reserved: the reader does not produce it yet, and rejects such keys instead. |