Public Overloads Function ClassListToCsvString(Of T As Class)( _ ByVal list As IEnumerable(Of T), _ ByVal propertyNameOrder As List(Of String) _ ) As String
Dim instance As CsvWriter Dim list As IEnumerable(Of T) Dim propertyNameOrder As List(Of String) Dim value As String value = instance.ClassListToCsvString(Of T)(list, propertyNameOrder)
public string ClassListToCsvString<T>( IEnumerable<T> list, List<string> propertyNameOrder ) where T: class
public: String^ ClassListToCsvStringgeneric<typename T> ( IEnumerable<T^>^ list, List<String^>^ propertyNameOrder ) where T: ref class
Parameters
- list
- List of class objects
- propertyNameOrder
- The order of the properties to output
Type Parameters
- T
- Class type
Return Value
CSV String