Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

ExcelTemplateOptionsFluent

OfficeIMO.Excel

Namespace
OfficeIMO.Excel
Assembly
OfficeIMO.Excel
Modifiers
static

The fluent methods of ExcelTemplateOptions, generated from its public properties: A property-named method sets a property and a singular-named method adds to a collection, both returning the same instance.

Inheritance

  • object
  • ExcelTemplateOptionsFluent

Methods

public static ExcelTemplateOptions FormatProvider(ExcelTemplateOptions excelTemplateOptions, IFormatProvider? value) #

Sets ExcelTemplateOptions.FormatProvider: Format provider used by built-in aliases and custom formatters.

Parameters

excelTemplateOptions OfficeIMO.Excel.ExcelTemplateOptions required
The instance.
value System.IFormatProvider? required
The value.

Returns

ExcelTemplateOptions The same instance.

Examples

// C# initializer or property                                                   // C# fluent
new global::OfficeIMO.Excel.ExcelTemplateOptions { FormatProvider = value };    excelTemplateOptions.FormatProvider(value);
public static ExcelTemplateOptions MissingValueBehavior(ExcelTemplateOptions excelTemplateOptions, ExcelTemplateMissingValueBehavior value) #

Sets ExcelTemplateOptions.MissingValueBehavior: Behavior used when a marker is not supplied by the values/model.

Parameters

excelTemplateOptions OfficeIMO.Excel.ExcelTemplateOptions required
The instance.
value OfficeIMO.Excel.ExcelTemplateMissingValueBehavior required
The value.

Returns

ExcelTemplateOptions The same instance.

Examples

// C# initializer or property                                                         // C# fluent
new global::OfficeIMO.Excel.ExcelTemplateOptions { MissingValueBehavior = value };    excelTemplateOptions.MissingValueBehavior(value);
public static ExcelTemplateOptions ThrowOnMissing(ExcelTemplateOptions excelTemplateOptions, bool value = true) #

Sets ExcelTemplateOptions.ThrowOnMissing: Throws when a marker is not supplied by the values/model. Equivalent to ExcelTemplateMissingValueBehavior.Throw.

Parameters

excelTemplateOptions OfficeIMO.Excel.ExcelTemplateOptions required
The instance.
value bool = true optional
The value; true when omitted.

Returns

ExcelTemplateOptions The same instance.

Examples

// C# initializer or property                                                   // C# fluent
new global::OfficeIMO.Excel.ExcelTemplateOptions { ThrowOnMissing = value };    excelTemplateOptions.ThrowOnMissing(value);