0adc4086 5833 22db d7ff 258a2faf5517 - akesseler/Plexdata.CsvParser GitHub Wiki
The method tries to convert given 'value' into its string representation.
Namespace: Plexdata.CsvParser.Internals
Assembly: Plexdata.CsvParser.NET (in Plexdata.CsvParser.NET.dll) Version: 1.1.3+d5bef99aa35461ce4bafadf0bf2c2aeca18044ea
C#
internal static string IntoString(
Object value,
CultureInfo culture,
CsvMappings mapping
)
- value
- Type: System.Object
The value to be converted. - culture
- Type: System.Globalization.CultureInfo
The culture to be used for conversion. - mapping
- Type: Plexdata.CsvParser.Processors.CsvMappings
The mapping to be used for value transformation.
Type: String
A string representing the data of given 'value'.
Exception | Condition |
---|---|
ArgumentNullException | The exception is thrown in case of given 'culture' is . |
At the moment, the supported data types are: String, Boolean, Char, SByte, Byte, Int16, UInt16, Int32, UInt32, Int64, UInt64, DateTime, Decimal, Double and Single. Method ToString() is used for all other type conversion. An empty string is returned for values that are . The value of type DateTime is converted into a string using the Sortable Date Time Pattern according to ISO 8601.