Loads the worksheet from a stream.

Namespace:  C1.Silverlight.Excel
Assembly:  C1.Silverlight.Excel.5 (in C1.Silverlight.Excel.5.dll)

Syntax

C#
public void Load(
	Stream stream,
	FileFormat format
)
Visual Basic
Public Sub Load ( _
	stream As Stream, _
	format As FileFormat _
)

Parameters

stream
Type: System.IO..::..Stream
Stream that contains the worksheet.
format
Type: C1.Silverlight.Excel..::..FileFormat
FileFormat value that specifies the file format.

Remarks

Loading the worksheets without their data is much faster than loading the entire workbook. This is useful in situations where you want to examine the contents of the file (for example, to ensure that you will not overwrite an existing sheet).

See Also