Zum Hauptinhalt springen

CsvValueType

Namespace: Meshmakers.Octo.MeshAdapter.Nodes.Transform

How the value of a column is read from the record and turned into text.

public enum CsvValueType

Inheritance Object → ValueType → Enum → CsvValueType
Implements IComparable, ISpanFormattable, IFormattable, IConvertible

Fields​

NameValueDescription
Auto0Follows the value: a string stays text, a number keeps its JSON token (or is formatted when CsvColumn.Format / CsvColumn.Decimals / CsvColumn.Factor is set), a boolean is written as true / false.
String1Text. A number or boolean in the record is written as its text.
Number2A number. A string that is a valid number is accepted; anything else fails the node.
Boolean3A boolean, written as true / false.
DateTime4A point in time, given as an ISO 8601 string. A value without an offset is read as UTC, the way the stream-data nodes read one. It is converted into CsvColumn.TimeZone and written with CsvColumn.Format.