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

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

    Parameters

    stream
    System.IO.Stream 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