Document.LoadAsync Method

Asynchronously loads a document from the specified file located on the SpreadsheetCloudAPI server.

Namespace: SpreadsheetCloudAPI.SpreadsheetSDK
Assembly: SpreadsheetSDK.dll

Syntax

C#
VB
public static Task<Document> LoadAsync( 
   string filename,  
   string extension 
)

Parameters

filename
Type: String
A string value, specifying the file name without an extension.
extension
Type: String
A string value, specifying the file extension. The supported file extensions are: OPENXML (XLSX), XLS and CSV.

Return value

Type: Task<Document>
A Task<Document> object, providing access to the loaded document.

Remarks

On the SpreadsheetCloudAPI server, the document must belong to the application that corresponds to the specified API Key.

See Also