[]
        
(Showing Draft Content)

C1.Excel.C1XLBook.LoadAsync

LoadAsync Method

LoadAsync(string, bool)

Loads asynchronous an Excel worksheet from a file.

Declaration
public Task LoadAsync(string fileName, bool fillSheets = true)
Parameters
Type Name Description
string fileName

Name of the file that contains the worksheet.

bool fillSheets

True to load data into the sheets; False to read the sheet names only.

Returns
Type Description
Task

LoadAsync(string, FileFormat, bool)

Loads asynchronous an Excel worksheet from a file.

Declaration
public Task LoadAsync(string fileName, FileFormat format, bool fillSheets = true)
Parameters
Type Name Description
string fileName

Name of the file that contains the worksheet.

FileFormat format

C1.Excel.C1XLBook.FileFormat value that specifies the file format.

bool fillSheets

True to load data into the sheets; False to read the sheet names only.

Returns
Type Description
Task

LoadAsync(Stream, bool)

Loads asynchronous the worksheet from a stream.

Declaration
public Task LoadAsync(Stream stream, bool fillSheets = true)
Parameters
Type Name Description
Stream stream

Stream that contains the worksheet.

bool fillSheets

True to load data into the sheets; False to read the sheet names only.

Returns
Type Description
Task

LoadAsync(Stream, FileFormat, bool)

Loads asynchronous the worksheet from a stream.

Declaration
public Task LoadAsync(Stream stream, FileFormat format, bool fillSheets)
Parameters
Type Name Description
Stream stream

Stream that contains the worksheet.

FileFormat format

C1.Excel.C1XLBook.FileFormat value that specifies the file format.

bool fillSheets

True to load data into the sheets; False to read the sheet names only.

Returns
Type Description
Task