Class LoadFromDictionariesParams
Parameters for the LoadFromDictionaries method
Inherited Members
Namespace: OfficeOpenXml.LoadFunctions.Params
Assembly: EPPlus.dll
Syntax
public class LoadFromDictionariesParams : LoadFunctionFunctionParamsBase
Properties
Culture
Culture to be used when reading numbers/dates.
Declaration
public CultureInfo Culture { get; set; }
Property Value
| Type | Description |
|---|---|
| CultureInfo |
DataTypes
Data types used when setting data in the spreadsheet range (defined from left to right per column).
Declaration
public eDataTypes[] DataTypes { get; set; }
Property Value
| Type | Description |
|---|---|
| eDataTypes[] |
HeaderParsingType
Sets how headers should be parsed before added to the worksheet, see HeaderParsingTypes
Declaration
public HeaderParsingTypes HeaderParsingType { get; set; }
Property Value
| Type | Description |
|---|---|
| HeaderParsingTypes |
Keys
If set, only these keys will be included in the dataset
Declaration
public IEnumerable<string> Keys { get; }
Property Value
| Type | Description |
|---|---|
| IEnumerable<string> |
Methods
SetKeys(params string[])
The keys supplied to this function will be included in the dataset, all others will be ignored.
Declaration
public void SetKeys(params string[] keys)
Parameters
| Type | Name | Description |
|---|---|---|
| string[] | keys | The keys to include |