Excel for WPF and Silverlight
Load(String,FileFormat,Boolean) Method

C1.WPF.Excel Namespace > C1XLBook Class > Load Method : Load(String,FileFormat,Boolean) Method
Name of the file that contains the worksheet.
FileFormat value that specifies the file format.
True to load data into the sheets; False to read the sheet names only.
Loads an Excel worksheet from a file.
Syntax
'Declaration
 
Public Overloads Sub Load( _
   ByVal fileName As System.String, _
   ByVal format As FileFormat, _
   ByVal fillSheets As System.Boolean _
) 
public void Load( 
   System.string fileName,
   FileFormat format,
   System.bool fillSheets
)

Parameters

fileName
Name of the file that contains the worksheet.
format
FileFormat value that specifies the file format.
fillSheets
True to load data into the sheets; False to read the sheet names only.
See Also

Reference

C1XLBook Class
C1XLBook Members
Overload List