Table of Contents

IniTokenType Enum

Definition

Namespace
Bodu.Text.Ini
Assembly
Bodu.Text.Ini.dll
Package
Bodu.Text.Ini 1.0.0
Source
IniTokenType.cs

Enumerates the token kinds a Utf8IniReader reports as it advances through an INI document in source order.

public enum IniTokenType
Extension Methods

Fields

None = 0

No token has been read, or the reader has reached the end of the document.

SectionHeader = 1

A section header ([name]).

PropertyName = 2

A key name, emitted before its value.

String = 3

A string value.

Comment = 4

A comment line.

StartObject = 5

The start of an object - the document root or a section. Emitted only by the normalized IniDocumentReader.

EndObject = 6

The end of an object - the document root or a section. Emitted only by the normalized IniDocumentReader.

Remarks

The source-order reader surfaces the document's physical structure: a SectionHeader begins a section, each entry surfaces a PropertyName followed by a String value, and comment lines appear as Comment tokens. Keys that precede the first section header belong to the global section.

Applies to

ProductVersions
.NET8, 10