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
)
Public Shared Function ReadXLS ( _
	excelStream As Stream, _
	password As String _
) As ExcelWorkbook
public:
static ExcelWorkbook^ ReadXLS(
	Stream^ excelStream, 
	String^ password
)

Parameters

excelStream
Stream
The stream of an Excel file.
password
String
Password for decrypting workbook.

Return Value

The workbook as ExcelWorkbook object.

See Also