|
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.218-beta+101eee949414e414795e55a6e73d88938f0177b8
Syntax GSF.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