YamlDuplicateKeyHandling Enum

Defines how duplicate mapping keys are handled when reading YAML.

public enum YamlDuplicateKeyHandling

Fields

NameValueDescription
Error0Throw an exception when a duplicate key is found.
LastWins1Keep the last value for a duplicate key.
FirstWins2Keep the first value for a duplicate key.