CSV Reports
AppendToCsvString<T>(String,IEnumerable<T>,List<String>) Method



KellermanSoftware.CsvReports Namespace > CsvWriter Class > AppendToCsvString Method : AppendToCsvString<T>(String,IEnumerable<T>,List<String>) Method
Write the properties of a class list to a CSV string and append to existing string
Syntax
Public Overloads Function AppendToCsvString(Of T As Class)( _
   ByVal inputString As String, _
   ByVal list As IEnumerable(Of T), _
   ByVal propertyNameOrder As List(Of String) _
) As String
Dim instance As CsvWriter
Dim inputString As String
Dim list As IEnumerable(Of T)
Dim propertyNameOrder As List(Of String)
Dim value As String
 
value = instance.AppendToCsvString(Of T)(inputString, list, propertyNameOrder)
public string AppendToCsvString<T>( 
   string inputString,
   IEnumerable<T> list,
   List<string> propertyNameOrder
)
where T: class
public:
String^ AppendToCsvStringgeneric<typename T>
( 
   String^ inputString,
   IEnumerable<T^>^ list,
   List<String^>^ propertyNameOrder
) 
where T: ref class

Parameters

inputString
list
propertyNameOrder

Type Parameters

T
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

CsvWriter Class
CsvWriter Members
Overload List