Show / Hide Table of Contents

Method csvTable.Get(+ 6 overloads)


Overload

Gets a field value converted to int. See ExtString.ToInt.

public bool Get(Index row, int column, out int value)
Parameters
row  (Index)

0-based row index.

column  (int)

0-based column index.

value  (int)

Receives the result, or 0 if failed.

Returns
bool

False if failed to convert from string.

Exceptions
ArgumentOutOfRangeException

Invalid row or column.


Overload(next)

Gets a field value converted to uint. See ExtString.ToInt.

public bool Get(Index row, int column, out uint value)
Parameters
row  (Index)

0-based row index.

column  (int)

0-based column index.

value  (uint)

Receives the result, or 0 if failed.

Returns
bool

False if failed to convert from string.

Exceptions
ArgumentOutOfRangeException

Invalid row or column.


Overload(next)

Gets a field value converted to long. See ExtString.ToInt.

public bool Get(Index row, int column, out long value)
Parameters
row  (Index)

0-based row index.

column  (int)

0-based column index.

value  (long)

Receives the result, or 0 if failed.

Returns
bool

False if failed to convert from string.

Exceptions
ArgumentOutOfRangeException

Invalid row or column.


Overload(next)

Gets a field value converted to ulong. See ExtString.ToInt.

public bool Get(Index row, int column, out ulong value)
Parameters
row  (Index)

0-based row index.

column  (int)

0-based column index.

value  (ulong)

Receives the result, or 0 if failed.

Returns
bool

False if failed to convert from string.

Exceptions
ArgumentOutOfRangeException

Invalid row or column.


Overload(next)

Gets a field value converted to double. See ExtString.ToNumber.

public bool Get(Index row, int column, out double value)
Parameters
row  (Index)

0-based row index.

column  (int)

0-based column index.

value  (double)

Receives the result, or 0 if failed.

Returns
bool

False if failed to convert from string.

Exceptions
ArgumentOutOfRangeException

Invalid row or column.


Overload(next)

Gets a field value converted to float. See ExtString.ToNumber.

public bool Get(Index row, int column, out float value)
Parameters
row  (Index)

0-based row index.

column  (int)

0-based column index.

value  (float)

Receives the result, or 0 if failed.

Returns
bool

False if failed to convert from string.

Exceptions
ArgumentOutOfRangeException

Invalid row or column.


Overload(top)

Gets a field value like "true" or "false" converted to bool. Case-insensitive.

public bool Get(Index row, int column, out bool value)
Parameters
row  (Index)

0-based row index.

column  (int)

0-based column index.

value  (bool)

Receives the result, or 0 if failed.

Returns
bool

False if failed to convert from string.

Exceptions
ArgumentOutOfRangeException

Invalid row or column.