Method Cell
- Namespace
- CSV4Unity
- Assembly
- CSV4Unity.Docs.dll
Cell(int, int)
行番号と列番号からセルを返します。
public CsvCell Cell(int rowIndex, int columnIndex)
Parameters
rowIndexintヘッダーを除くゼロ始まりの行番号。
columnIndexintゼロ始まりの列番号。
Returns
- CsvCell
指定位置のセル。
Exceptions
- ArgumentOutOfRangeException
rowIndexまたはcolumnIndexが範囲外です。
Cell(int, string)
行番号とヘッダー名からセルを返します。
public CsvCell Cell(int rowIndex, string header)
Parameters
rowIndexintヘッダーを除くゼロ始まりの行番号。
headerstring検索するヘッダー名。大文字小文字を区別します。
Returns
- CsvCell
指定位置のセル。
Exceptions
- ArgumentOutOfRangeException
rowIndexが範囲外です。- ArgumentNullException
headerがnullです。- KeyNotFoundException
指定したヘッダーが存在しません。