IniTokenType Enum
Definition
Enumerates the token kinds a Utf8IniReader reports as it advances through an INI document in source order.
public enum IniTokenType
- Extension Methods
Fields
None = 0No token has been read, or the reader has reached the end of the document.
SectionHeader = 1A section header (
[name]).PropertyName = 2A key name, emitted before its value.
String = 3A string value.
Comment = 4A comment line.
StartObject = 5The start of an object - the document root or a section. Emitted only by the normalized IniDocumentReader.
EndObject = 6The 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
| Product | Versions |
|---|---|
| .NET | 8, 10 |