ComponentOne Excel for .NET
C1.Excel Assembly / C1.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 System.IO.Stream, _
       ByVal last As System.Boolean _
    ) 
    public void Load( 
       System.IO.Stream stream,
       System.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