Table of Contents

Method WithFields

Namespace
CSV4Unity
Assembly
CSV4Unity.Docs.dll

WithFields<TField>()

Enumとヘッダーを対応付けたテーブルを生成します。

public CsvTable<TField> WithFields<TField>() where TField : struct, Enum

Returns

CsvTable<TField>

Enumで列を指定できるテーブル。

Type Parameters

TField

CSVの列を表すEnum型。属性でヘッダー名を補正できます。

Exceptions

CsvSchemaException

ヘッダーがないか、Enumの各フィールドをヘッダーへ一意に対応付けられません。