Description
Reads CSV TXT files from the stream.

Namespace: Docs.Excel
Assembly: Excel (in Excel.dll) Version: 3.1.0.0 (3.1)

Syntax

         
 C#  Visual Basic  Visual C++ 
public static ExcelWorkbook ReadCSV(
	Stream CsvStream,
	char csvDelimeter,
	Encoding characterEncoding
)
Public Shared Function ReadCSV ( _
	CsvStream As Stream, _
	csvDelimeter As Char, _
	characterEncoding As Encoding _
) As ExcelWorkbook
public:
static ExcelWorkbook^ ReadCSV(
	Stream^ CsvStream, 
	wchar_t csvDelimeter, 
	Encoding^ characterEncoding
)

Parameters

CsvStream
Stream
The stream of CSV or TXT file.
csvDelimeter
Char
Char that separates cells.
characterEncoding
Encoding
Charset Excel file.

Return Value

The workbook as ExcelWorkbook object.

See Also