Table of Contents

Class SheetDataReaderOptions

Namespace
ExcelReader.Core.Reader
Assembly
ExcelReader.Core.dll

Options for adapting a sheet to IDataReader with SheetDataReader.

public sealed class SheetDataReaderOptions
Inheritance
SheetDataReaderOptions
Inherited Members

Properties

Default

Gets the default options: column names on row 1.

public static SheetDataReaderOptions Default { get; }

Property Value

SheetDataReaderOptions

HeaderRow

Gets the 1-based row holding column names. 0 means a header-less sheet, whose columns come back named "Column0", "Column1", ... and whose count is taken from the first data row. Defaults to 1.

public int HeaderRow { get; init; }

Property Value

int