Class ToCollectionOptions
Base class for settings to the ToCollection method. ToCollection<T>() ToCollection<T>()
Inherited Members
Namespace: OfficeOpenXml
Assembly: EPPlus.dll
Syntax
public abstract class ToCollectionOptions
Properties
ConversionFailureStrategy
How conversion failures should be handled when mapping properties.
Declaration
public ToCollectionConversionFailureStrategy ConversionFailureStrategy { get; set; }
Property Value
| Type | Description |
|---|---|
| ToCollectionConversionFailureStrategy |
Methods
SetCustomHeaders(params string[])
Sets custom headers. If set, used instead of the header row.
Declaration
public void SetCustomHeaders(params string[] header)
Parameters
| Type | Name | Description |
|---|---|---|
| string[] | header |