Table of Contents

Method Cell

Namespace
CSV4Unity
Assembly
CSV4Unity.Docs.dll

Cell(int, int)

行番号と列番号からセルを返します。

public CsvCell Cell(int rowIndex, int columnIndex)

Parameters

rowIndex int

ヘッダーを除くゼロ始まりの行番号。

columnIndex int

ゼロ始まりの列番号。

Returns

CsvCell

指定位置のセル。

Exceptions

ArgumentOutOfRangeException

rowIndexまたはcolumnIndexが範囲外です。

Cell(int, string)

行番号とヘッダー名からセルを返します。

public CsvCell Cell(int rowIndex, string header)

Parameters

rowIndex int

ヘッダーを除くゼロ始まりの行番号。

header string

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

Returns

CsvCell

指定位置のセル。

Exceptions

ArgumentOutOfRangeException

rowIndexが範囲外です。

ArgumentNullException

headerがnullです。

KeyNotFoundException

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