Enum ToCollectionConversionFailureStrategy
How conversion failures should be handled when mapping properties in the ToCollection method.
Namespace: OfficeOpenXml.Export.ToCollection
Assembly: EPPlus.dll
Syntax
public enum ToCollectionConversionFailureStrategy
Fields
Name | Description |
---|---|
Exception | Throw an Exception if the conversion fails. Blank values will return the default value for the type. An EPPlusDataTypeConvertionException will be thrown on any datatype conversion failure when mapping properties. |
SetDefaultValue | Set the default value for the property. |