Creates a data source reading a CSV file.

Namespace:  InfigoSDK
Assembly:  InfigoSDK (in InfigoSDK.dll) Version: 1.0.0.0 (1.0.0.0)

Syntax

C#
public static IInfigoDataSource CreateCSVDataSource(
	string strFile,
	char delimiter,
	bool bHeader
)
Visual Basic (Declaration)
Public Shared Function CreateCSVDataSource ( _
	strFile As String, _
	delimiter As Char, _
	bHeader As Boolean _
) As IInfigoDataSource
Visual C++
public:
static IInfigoDataSource^ CreateCSVDataSource(
	String^ strFile, 
	wchar_t delimiter, 
	bool bHeader
)

Parameters

strFile
Type: System..::.String
The path to the CSV file.
delimiter
Type: System..::.Char
The delimiter character.
bHeader
Type: System..::.Boolean
Pass true, if the first line should be interpreted as headers.

Return Value

The new IInfigoDataSource.

See Also