Enum
YamlStyle
OfficeIMO.Yaml
The presentation style of the node the reader is positioned on. Styles describe source syntax only; they never change a node's value under the active schema, except that only YamlStyle.Plain scalars resolve implicitly.
Inheritance
- Enum
- YamlStyle
Usage
Explore 21 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 14
- Property YamlAlias.Style
- Property YamlMapping.Style
- Property YamlNode.Style
- Property YamlReader.Style
- Property YamlScalar.Style
- Property YamlSequence.Style
- Field YamlStyle.Block
- Field YamlStyle.DoubleQuoted
- Field YamlStyle.Flow
- Field YamlStyle.Folded
- Field YamlStyle.Literal
- Field YamlStyle.None
- Field YamlStyle.Plain
- Field YamlStyle.SingleQuoted
Accepted by parameters 7
- Constructor YamlMapping.YamlMapping
- Constructor YamlScalar.YamlScalar
- Method YamlScalar.SetValue
- Constructor YamlSequence.YamlSequence
- Method YamlWriter.WriteScalar
- Method YamlWriter.WriteStartMapping
- Method YamlWriter.WriteStartSequence
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 YamlStyle None #The current event has no style (stream, document, end and comment events).
Value:
0public const YamlStyle Plain #An unquoted scalar, including an empty node. Only plain scalars resolve to null, boolean or number without a tag.
Value:
1public const YamlStyle DoubleQuoted #A scalar in double quotes, which supports backslash escapes.
Value:
3public const YamlStyle Folded #A folded block scalar (>), which folds line breaks into spaces.
Value:
5