Class
ExcelTemplateOptionsFluent
OfficeIMO.Excel
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
- The instance.
- value System.IFormatProvider?
- The value.
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
- The instance.
- value OfficeIMO.Excel.ExcelTemplateMissingValueBehavior
- The value.
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
- The instance.
- value bool = true
- The value; true when omitted.
Examples
// C# initializer or property // C# fluent
new global::OfficeIMO.Excel.ExcelTemplateOptions { ThrowOnMissing = value }; excelTemplateOptions.ThrowOnMissing(value);