Utf8TomlReaderOptions Struct

Options of a Utf8TomlReader.

public struct Utf8TomlReaderOptions

Properties

NameDescription
CommentHandlingGets or sets how the comments are handled.
MaxDepthGets or sets the maximum nesting depth of arrays and inline tables, the root table being one level. 0 means the default of 64.

Gets or sets how the comments are handled.

public TomlCommentHandling CommentHandling { readonly get; set; }

Property value

TomlCommentHandling

Gets or sets the maximum nesting depth of arrays and inline tables, the root table being one level. 0 means the default of 64.

public int MaxDepth { readonly get; set; }

Property value

int

Exceptions

ArgumentOutOfRangeException
The value is negative.