Table of Contents

Method GetColumnIndex

Namespace
CSV4Unity
Assembly
CSV4Unity.Docs.dll

GetColumnIndex(string)

ヘッダー名に対応する列番号を取得します。

public int GetColumnIndex(string header)

Parameters

header string

検索するヘッダー名。大文字小文字を区別します。

Returns

int

ゼロ始まりの列番号。

Exceptions

ArgumentNullException

headerがnullです。

KeyNotFoundException

指定したヘッダーが存在しません。