Class LoadFromCollectionParams
Parameters for the LoadFromCollection method
Inherited Members
Namespace: OfficeOpenXml.LoadFunctions.Params
Assembly: EPPlus.dll
Syntax
public class LoadFromCollectionParams : LoadFunctionFunctionParamsBase
Fields
DefaultBindingFlags
Default value for the BindingFlags property
Declaration
public const BindingFlags DefaultBindingFlags = BindingFlags.Instance | BindingFlags.Public
Field Value
Type | Description |
---|---|
System. |
Properties
BindingFlags
The Binding
Declaration
public BindingFlags BindingFlags { get; set; }
Property Value
Type | Description |
---|---|
System. |
HeaderParsingType
Sets how headers should be parsed before added to the worksheet, see Header
Declaration
public HeaderParsingTypes HeaderParsingType { get; set; }
Property Value
Type | Description |
---|---|
Header |
Members
If not null, this specifies the members that should be used. Any member not present will be ignored.
Declaration
public MemberInfo[] Members { get; set; }
Property Value
Type | Description |
---|---|
System. |
Methods
RegisterDictionaryKeys(IEnumerable<String>)
Registers default keys for properties decorated with the Office
Declaration
public void RegisterDictionaryKeys(IEnumerable<string> keys)
Parameters
Type | Name | Description |
---|---|---|
System. |
keys | The keys to register |
RegisterDictionaryKeys(String, IEnumerable<String>)
Register keys to a property decorated with the OfficekeyId
should map to the Office
Declaration
public void RegisterDictionaryKeys(string keyId, IEnumerable<string> keys)
Parameters
Type | Name | Description |
---|---|---|
System. |
keyId | Key id used to store this set of keys |
System. |
keys | Keys for the |
SetNumberFormatProvider(IExcelNumberFormatProvider)
Sets an IExcel
Declaration
public void SetNumberFormatProvider(IExcelNumberFormatProvider numberFormatProvider)
Parameters
Type | Name | Description |
---|---|---|
IExcel |
numberFormatProvider | The IExcel |