Description
Reads CSV TXT files and creates a workbook.

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(
	Uri csvUrlAddress,
	char csvDelimeter,
	Encoding characterEncoding,
	ProgressEventHandler readingProgressHandler
)
Public Shared Function ReadCSV ( _
	csvUrlAddress As Uri, _
	csvDelimeter As Char, _
	characterEncoding As Encoding, _
	readingProgressHandler As ProgressEventHandler _
) As ExcelWorkbook
public:
static ExcelWorkbook^ ReadCSV(
	Uri^ csvUrlAddress, 
	wchar_t csvDelimeter, 
	Encoding^ characterEncoding, 
	ProgressEventHandler^ readingProgressHandler
)

Parameters

csvUrlAddress
Uri
URL of CSV or TXT file.
csvDelimeter
Char
Char that separates cells.
characterEncoding
Encoding
Charset Excel file.
readingProgressHandler
ProgressEventHandler
The reference to handler of event ExcelWorkbook.ReadingProgress.

Return Value

The workbook as ExcelWorkbook object.

See Also