Description
Reads the XLS file 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 ReadXLS(
	Stream excelStream,
	string password,
	ProgressEventHandler readingProgressHandler
)
Public Shared Function ReadXLS ( _
	excelStream As Stream, _
	password As String, _
	readingProgressHandler As ProgressEventHandler _
) As ExcelWorkbook
public:
static ExcelWorkbook^ ReadXLS(
	Stream^ excelStream, 
	String^ password, 
	ProgressEventHandler^ readingProgressHandler
)

Parameters

excelStream
Stream
The stream of an Excel file.
password
String
Password for decrypting workbook.
readingProgressHandler
ProgressEventHandler
The reference to handler of event ExcelWorkbook.ReadingProgress.

Return Value

The workbook as ExcelWorkbook object.

See Also