TomlNodeOptions Struct
Definition
Defines the customizations applied to a mutable TOML node tree.
public struct TomlNodeOptions
- Inherited Members
- Extension Methods
Remarks
The options govern in-memory behavior only; they do not affect serialization, which always emits normalized TOML with table members in insertion order regardless of the configured comparison.
Properties
PropertyNameCaseInsensitive
Gets or sets a value indicating whether TomlObject property-name lookups ignore case.
public bool PropertyNameCaseInsensitive { readonly get; set; }
Property Value
Remarks
TOML keys are case-sensitive, so a valid document can hold two keys in one table that differ only in case, such
as a and A. A table that ignores case cannot hold both, so
Parse(ReadOnlySpan<byte>, TomlNodeOptions) throws TomlFormatException,
positioned where the second of the two keys starts, rather than keep only one of their values.
Applies to
| Product | Versions |
|---|---|
| .NET | 8, 10 |