Excel for WPF | ComponentOne
C1.WPF.Excel Namespace / C1XLBook Class / Load Method / Load(String,Boolean) Method
Name of the file that contains the worksheet.
True to load data into the sheets; False to read the sheet names only.

In This Topic
    Load(String,Boolean) Method
    In This Topic
    Loads an Excel worksheet from a file.
    Syntax
    'Declaration
     
    
    Public Overloads Sub Load( _
       ByVal fileName As String, _
       ByVal fillSheets As Boolean _
    ) 
    public void Load( 
       string fileName,
       bool fillSheets
    )

    Parameters

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