Class ExcelPowerQueryMetaDataEntry¶
Namespace: OfficeOpenXml.Data.Connection
Assembly: EPPlus.dll
An entity in the meta data entity collection for Power Query.
Inheritance¶
object ← ExcelPowerQueryMetaDataEntry
Inherited Members¶
object.Equals(object?, object?)
object.Equals(object?)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object?, object?)
object.ToString()
Constructors¶
ExcelPowerQueryMetaDataEntry(string, object, bool, bool)¶
Create a new ExcelPowerQueryMetaDataEntry validating the type and value according to the ValidEntries
public ExcelPowerQueryMetaDataEntry(string type, object value, bool ignoreUnknownEntries = true, bool validateDataTypeForKnownEntries = true)
Parameters¶
type string
The Entry type.
value object
The value of the Entry. This value must be of type, string, integer, bool, datetime or double.
ignoreUnknownEntries bool
If true(default), EPPlus will ignore and preserve values not present in the ValidEntries dictionary
validateDataTypeForKnownEntries bool
Exceptions¶
Fields¶
ValidEntries¶
The valid entries and there data types. Data Types can be b=bool, s=string, i=integer, d=date/time and f=double. Entry types are case-sensitive.
Field Value¶
Properties¶
EntryType¶
The entry type. Please see ValidEntries for valid entries.
Property Value¶
Value¶
The value for the entry.
Property Value¶
Methods¶
GetValueAsText(CultureInfo)¶
Get the value formatted according to the supplied culture.
Parameters¶
culture CultureInfo
Returns¶
ToString()¶
Return the object as a string.