Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Enum

YamlScalarKind

OfficeIMO.Yaml

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

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.

Values

public const YamlScalarKind String #

A string: quoted and block scalars, !!str, and plain text no schema rule matches.

Value: 0
public const YamlScalarKind Null #

Null: null, ~, an empty node, or !!null.

Value: 1
public const YamlScalarKind Boolean #

A boolean: true/false in three casings, and under YAML 1.1 also yes, no, on, off, y, n.

Value: 2
public const YamlScalarKind Integer #

An integer, in any base the schema allows.

Value: 3
public const YamlScalarKind Float #

A floating-point number, including .inf and .nan.

Value: 4
public const YamlScalarKind Timestamp #

A YAML 1.1 timestamp such as 2001-12-14, or a scalar tagged !!timestamp.

Value: 5
public const YamlScalarKind Merge #

The merge key <<: under YAML 1.1, and under the core schema unless the load is strict.

Value: 6
public const YamlScalarKind Value #

The YAML 1.1 value key =.

Value: 7
public const YamlScalarKind Custom #

A scalar whose tag no schema resolves, such as !Ref; its text is kept as written.

Value: 8