Excel for WinRT
LoadAsync(StorageFile,FileFormat,Boolean) 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.
Loads an Excel worksheet from a file storage.
Syntax
'Declaration
 
Public Overloads Function LoadAsync( _
   ByVal file As Windows.Storage.StorageFile, _
   ByVal format As FileFormat, _
   Optional ByVal fillSheets 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 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

Reference

C1XLBook Class
C1XLBook Members
Overload List

 

 


Copyright (c) GrapeCity, inc. All rights reserved.

Product Support Forum  |  Documentation Feedback