Class ToCollectionOptions
Base class for settings to the ToCollection method. ToCollection<T>() ToCollection<T>()
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
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(String[])
Sets custom headers. If set, used instead of the header row.
Declaration
public void SetCustomHeaders(params string[] header)
Parameters
Type | Name | Description |
---|---|---|
System.String[] | header |