Interface IWorkSheetReader
Namespace: Casewhere.Runtime.IO
Assembly: Casewhere.Runtime.IO.dll
Provide methods for reading data in a worksheet.
public interface IWorkSheetReader
Extension Methods
ObjectExtension.ConvertToBsonValue(object), EnumExtensions.DeepClone<IWorkSheetReader>(IWorkSheetReader)
Properties
ColumnCount
Return the number of columns in a sheet
int ColumnCount { get; }
Property Value
RowCount
Return the number of rows in a sheet
int RowCount { get; }
Property Value
Methods
Read(int, int)
Read the data of a cell.
object Read(int row, int col)
Parameters
row
int
The index of a row.
col
int
The index of a column.
Returns
The cell data
Read<T>(int, int)
Read the data of a cell and cast it to a particular T type.
T Read<T>(int row, int col)
Parameters
row
int
The index of a row.
col
int
The index of a row.
Returns
T
The cell data
Type Parameters
T
The type of data.