Class LoadFromDictionariesParams
Parameters for the LoadFromDictionaries method
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.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 |
---|---|
System.Globalization.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 |
---|---|
System.Collections.Generic.IEnumerable<System.String> |
Methods
SetKeys(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 |
---|---|---|
System.String[] | keys | The keys to include |