Enum
YamlScalarKind
OfficeIMO.Yaml
The type an untagged plain scalar resolves to under a schema.
Inheritance
- Enum
- YamlScalarKind
Usage
Explore 10 API references to this type
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by 10
- Property YamlScalar.Kind
- Field YamlScalarKind.Boolean
- Field YamlScalarKind.Custom
- Field YamlScalarKind.Float
- Field YamlScalarKind.Integer
- Field YamlScalarKind.Merge
- Field YamlScalarKind.Null
- Field YamlScalarKind.String
- Field YamlScalarKind.Timestamp
- Field YamlScalarKind.Value
Inherited Methods
ToString 4 overloads
public string ToString(IFormatProvider? provider) #Inherited from Enum
Obsolete("The provider argument is not used. Use ToString() instead.")Parameters
- provider IFormatProvider?
Returns
stringpublic string ToString(string? format, IFormatProvider? provider) #Inherited from Enum
Obsolete("The provider argument is not used. Use ToString(String) instead.")Parameters
- format string?
- provider IFormatProvider?
Returns
stringValues
public const YamlScalarKind String #A string: quoted and block scalars, !!str, and plain text no schema rule matches.
Value:
0public const YamlScalarKind Boolean #A boolean: true/false in three casings, and under YAML 1.1 also yes, no, on, off, y, n.
Value:
2public const YamlScalarKind Timestamp #A YAML 1.1 timestamp such as 2001-12-14, or a scalar tagged !!timestamp.
Value:
5public const YamlScalarKind Merge #The merge key <<: under YAML 1.1, and under the core schema unless the load is strict.
Value:
6public const YamlScalarKind Custom #A scalar whose tag no schema resolves, such as !Ref; its text is kept as written.
Value:
8