Class
CsvDataTableOptions
OfficeIMO.CSV
Controls how a CsvDocument is projected into a DataTable.
Inheritance
- object
- CsvDataTableOptions
Usage
Explore 1 API references to this type
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Accepted by parameters 1
- Method CsvDocument.ToDataTable
Constructors
public CsvDataTableOptions() #Inherited Methods
Properties
public string? TableName { get; set; } #Gets or sets the DataTable name. Defaults to CsvData.
public CsvSchema? Schema { get; set; } #Gets or sets an explicit schema used for typed DataTable columns.
public bool InferSchema { get; set; } #Gets or sets a value indicating whether schema should be inferred before creating columns.
public int SchemaSampleRows { get; set; } #Gets or sets the maximum row count inspected when CsvDataTableOptions.InferSchema is enabled.