Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Enum

YamlSequenceIndentation

OfficeIMO.Yaml

Namespace
OfficeIMO.Yaml
Assembly
OfficeIMO.Yaml
Source revision
ba882f6b0d07 with working tree changes
Base
Enum
Implements
IComparable ISpanFormattable IFormattable IConvertible
Modifiers
sealed

How YamlFormatter indents block sequences under a mapping key.

Inheritance

  • Enum
  • YamlSequenceIndentation

Usage

Explore 4 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.

Values

public const YamlSequenceIndentation Preserve #

The style the document uses most: what saving new nodes would follow.

Value: 0
public const YamlSequenceIndentation Compact #

The dash level with the key: key:\n- item.

Value: 1
public const YamlSequenceIndentation Indented #

The dash indented under the key by the indent width: key:\n - item, as Kubernetes manifests and Helm charts write it.

Value: 2