Table of Contents

DelimitedFieldCountBehavior Enum

Definition

Namespace
Bodu.Text.Delimited
Assembly
Bodu.Text.Delimited.dll
Package
Bodu.Text.Delimited 1.3.0
Source
DelimitedFieldCountBehavior.cs

Specifies how a delimited reader treats a data record whose field count differs from the header's.

public enum DelimitedFieldCountBehavior
Extension Methods

Fields

Strict = 0

Every record must have the same field count as the header; a mismatch is an error.

Ragged = 1

Records may have any field count; short records expose fewer fields and long records expose more.

In header mode, each field beyond the header's is named by its zero-based column index, so the fourth field under a three-column header is named 3; such a name can coincide with a header's own name.

Applies to

ProductVersions
.NET8, 10