Excel for WPF | ComponentOne
C1.WPF.Excel Namespace / XLSheet Class / Load Method / Load(String,Boolean) Method
Name of the file that contains the worksheet.
True to finish loading from the workbook; False to load data into the other worksheets.

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

    Parameters

    fileName
    Name of the file that contains the worksheet.
    last
    True to finish loading from the workbook; False to load data into the other worksheets.
    Remarks
    It was previously necessary to load the workbook from the stream without filling the worksheets.
    See Also