YamlProperty Struct
Definition
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
| Product | Versions |
|---|---|
| .NET | 8, 10 |