Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

ExcelIncrementalTableWriter

OfficeIMO.Excel

Namespace
OfficeIMO.Excel
Assembly
OfficeIMO.Excel
Source revision
0eef6a5756b9 with working tree changes
Implements
IDisposable
Modifiers
sealed

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.

public 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> required
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> required
values System.Collections.Generic.IReadOnlyList<object?> required