Table of Contents

Class OdfObjectBindingOptions

Namespace
OdfKit.Spreadsheet
Assembly
OdfKit.dll

Configures object-to-spreadsheet binding. 設定物件寫入試算表的繫結行為。

public class OdfObjectBindingOptions
Inheritance
OdfObjectBindingOptions
Derived
Inherited Members

Constructors

OdfObjectBindingOptions()

public OdfObjectBindingOptions()

Properties

ColumnMap

Gets or sets the explicit property-to-column map. 取得或設定明確的屬性與欄位對應。

public OdfObjectColumnMap? ColumnMap { get; set; }

Property Value

OdfObjectColumnMap

CreateTableName

Gets or sets the optional table name to create around the written range. 取得或設定要包覆寫入範圍建立的選用表格名稱。

public string? CreateTableName { get; set; }

Property Value

string

CultureInfo

Gets or sets the culture used when creating number formats. 取得或設定建立數字格式時使用的文化特性。

public CultureInfo? CultureInfo { get; set; }

Property Value

CultureInfo

HeaderNameSelector

Gets or sets a selector that can rewrite resolved header names. 取得或設定可改寫已解析標題名稱的選取器。

public Func<string, string>? HeaderNameSelector { get; set; }

Property Value

Func<string, string>

IncludeHeader

Gets or sets whether a header row is written before data rows. 取得或設定是否在資料列前寫入標題列。

public bool IncludeHeader { get; set; }

Property Value

bool

NullValuePolicy

Gets or sets the null value write policy. 取得或設定 null 值寫入原則。

public OdfObjectNullValuePolicy NullValuePolicy { get; set; }

Property Value

OdfObjectNullValuePolicy

StartColumn

Gets or sets the zero-based start column used by append operations. 取得或設定附加操作使用的 0 基準起始欄。

public int StartColumn { get; set; }

Property Value

int