Table of Contents

YamlProperty Struct

Definition

Namespace
Bodu.Text.Yaml.Document
Assembly
Bodu.Text.Yaml.dll
Package
Bodu.Text.Yaml 1.0.0
Source
YamlProperty.cs

Represents a single key/value pair within a mapping node of a YamlDocument.

public readonly struct YamlProperty
Inherited Members
Extension Methods

Properties

Name

Gets the key of the pair.

public string Name { get; }

Property Value

string

The decoded key text.

Value

Gets the value of the pair.

public YamlElement Value { get; }

Property Value

YamlElement

The mapped value element.

Methods

ToString()

Returns the key text of the pair.

public override string ToString()

Returns

string

The key.

Applies to

ProductVersions
.NET8, 10