Click or drag to resize

imbDataExtensionstoCsvInLine Method

imbSCI | imbACE | imbNLP | imbWEM | imbWBI
Renders CSV line from [!:object.toStringSafe()], [!:separator] is removed from item String

Namespace:  imbSCI.Core.extensions.data
Assembly:  imbSCI.Core (in imbSCI.Core.dll) Version: 0.3.58.
Syntax
C#
public static string toCsvInLine(
	this IEnumerable input,
	string separator = ",",
	string propertyName = ""
)

Parameters

input
Type: System.CollectionsIEnumerable
Collection of strings or objects that support ToString()
separator (Optional)
Type: SystemString
Separator between items
propertyName (Optional)
Type: SystemString
Name of property to read -- if empty object is used directly

Return Value

Type: String
One string

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IEnumerable. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also