 | ExtensionMethodskSaveToCSVFileT Method (IEnumerableT, String) |
Saves an Inumerable class/model to CSV file.
Namespace:
Koden.Utils.Extensions
Assembly:
Koden.Utils (in Koden.Utils.dll) Version: 1.1.6453.26060
Syntaxpublic static void kSaveToCSVFile<T>(
this IEnumerable<T> objects,
string fileName = ""
)
<ExtensionAttribute>
Public Shared Sub kSaveToCSVFile(Of T) (
objects As IEnumerable(Of T),
Optional fileName As String = ""
)
public:
[ExtensionAttribute]
generic<typename T>
static void kSaveToCSVFile(
IEnumerable<T>^ objects,
String^ fileName = L""
)
[<ExtensionAttribute>]
static member kSaveToCSVFile :
objects : IEnumerable<'T> *
?fileName : string
(* Defaults:
let _fileName = defaultArg fileName ""
*)
-> unit
Parameters
- objects
- Type: System.Collections.GenericIEnumerableT
The objects. - fileName (Optional)
- Type: SystemString
Name of the file.
Type Parameters
- T
[Missing <typeparam name="T"/> documentation for "M:Koden.Utils.Extensions.ExtensionMethods.kSaveToCSVFile``1(System.Collections.Generic.IEnumerable{``0},System.String)"]
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
IEnumerableT. 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