de704a01 b2ec 8c53 548c b1ea89299941 - akesseler/Plexdata.CsvParser GitHub Wiki

ProcessHelper.ConvertToString Method (Object, CultureInfo, CsvMappings, Boolean)

This method tries to convert an object into its string representation.

Namespace: Plexdata.CsvParser.Internals
Assembly: Plexdata.CsvParser.NET (in Plexdata.CsvParser.NET.dll) Version: 1.1.3+d5bef99aa35461ce4bafadf0bf2c2aeca18044ea

Syntax

C#

public static string ConvertToString(
	Object value,
	CultureInfo culture,
	CsvMappings mapping,
	out bool quoting
)

Parameters

 

value
Type: System.Object
The object to get its string representation for.
culture
Type: System.Globalization.CultureInfo
The culture to be used for data conversion.
mapping
Type: Plexdata.CsvParser.Processors.CsvMappings
The mapping to be used for value transformation.
quoting
Type: System.Boolean
The out parameter that describes if an object value should be surrounded by double-quotes.

Return Value

Type: String
The string representation of given object.

Remarks

The quoting out parameter is only true if given value is of type string. Otherwise, this parameter is false.

See Also

Reference

ProcessHelper Class
ConvertToString Overload
Plexdata.CsvParser.Internals Namespace
ProcessHelper.ConvertToString(Object, CultureInfo, CsvMappings)

⚠️ **GitHub.com Fallback** ⚠️