ComponentOne Excel for UWP
C1.UWP.Excel Assembly / C1.Xaml.Excel Namespace / C1XLBook Class / LoadAsync Method
The file storage object that contains the workbook.
FileFormat value that specifies the file format.
True to load data into the sheets; False to read the sheet names only.

In This Topic
    LoadAsync Method (C1XLBook)
    In This Topic
    Loads an Excel worksheet from a file storage.
    Syntax
    'Declaration
     
    Public Function LoadAsync( _
       ByVal file As Windows.Storage.StorageFile, _
       ByVal format As FileFormat, _
       Optional ByVal fillSheets As System.Boolean _
    ) As System.Threading.Tasks.Task
    public System.Threading.Tasks.Task LoadAsync( 
       Windows.Storage.StorageFile file,
       FileFormat format,
       System.bool fillSheets
    )

    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.
    See Also