|
DataExtensionsToDelimitedString Method
|
Converts the
DataTable to a multi-line delimited string (e.g., CSV export).
Namespace: GSF.DataAssembly: GSF.Core (in GSF.Core.dll) Version: 2.4.230-beta+03417d7b5cff037b24e882d7adef82d359b34964
SyntaxGSF.Data.DataExtensions.ToDelimitedString = function(table, delimiter, quoted, header);
View SourceParameters
- table DataTable
- The DataTable whose data is to be converted to delimited text.
- delimiter String
- The character(s) to be used for delimiting the text.
- quoted Boolean
- true, if text is to be surrounded by quotes; otherwise, false.
- header Boolean
- true, if the delimited text should have header information.
Return Value
StringA string of delimited text.
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
DataTable. 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