Loads an Excel worksheet from a file storage.
'Declaration
Public Overloads Function LoadAsync( _
ByVal As Windows.Storage.StorageFile, _
ByVal As FileFormat, _
Optional ByVal As System.Boolean _
) As System.Threading.Tasks.Task
'Usage
Dim instance As C1XLBook
Dim file As Windows.Storage.StorageFile
Dim format As FileFormat
Dim fillSheets As System.Boolean
Dim value As System.Threading.Tasks.Task
value = instance.LoadAsync(file, format, fillSheets)
public System.Threading.Tasks.Task LoadAsync(
Windows.Storage.StorageFile ,
FileFormat ,
System.bool
)
Parameters
- file
- The file storage object that contains the workbook.
- format
- FileFormat value that specifies the file format.
- fillSheets
- True to load data into the sheets; False to read the sheet names only.
Return Value
The task of represents an asynchronous operation.