ExcelIncrementalTableWriter
OfficeIMO.Excel
Spools normalized scalar rows to disk while collecting columns in first-seen order.
Inheritance
- object
- ExcelIncrementalTableWriter
Remarks
Complete freezes the schema and writes through the native workbook writer. Disposing an incomplete table aborts publication of its workbook.
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.
Returned or exposed by 1
Methods
public ExcelDataSetImportResult Complete() #Writes the completed table with its final union schema and returns the occupied native range.
Returns
ExcelDataSetImportResultpublic void DeclareColumns(IReadOnlyList<string> columnNames) #Registers a known schema without writing a data row, including for empty readers and tables.
Parameters
- columnNames System.Collections.Generic.IReadOnlyList<string>
public void Dispose() #Releases the native spool. An incomplete table marks the workbook failed, preserving an existing destination.
public void WriteRow(IReadOnlyList<string> columnNames, IReadOnlyList<object?> values) #Copies one row immediately. Later rows may introduce columns; omitted columns become blank cells.
Parameters
- columnNames System.Collections.Generic.IReadOnlyList<string>
- values System.Collections.Generic.IReadOnlyList<object?>