ComponentOne Excel for .NET
C1.Excel Assembly / C1.Excel Namespace / C1XLBook Class / Load Method / Load(Stream,FileFormat,Boolean) Method
System.IO.Stream that contains the worksheet.
C1.Excel.C1XLBook.FileFormat value that specifies the file format.
True to load data into the sheets; False to read the sheet names only.

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

    Parameters

    stream
    System.IO.Stream that contains the worksheet.
    format
    C1.Excel.C1XLBook.FileFormat value that specifies the file format.
    fillSheets
    True to load data into the sheets; False to read the sheet names only.
    See Also