| GrapeCity.Xaml.SpreadSheet.Data Namespace > Workbook Class > OpenExcelAsync Method : OpenExcelAsync(Stream,Int32) Method | 
'Declaration Public Overloads Function OpenExcelAsync( _ ByVal stream As Stream, _ ByVal sheetIndex As Integer _ ) As IAsyncAction
'Usage Dim instance As Workbook Dim stream As Stream Dim sheetIndex As Integer Dim value As IAsyncAction value = instance.OpenExcelAsync(stream, sheetIndex)
public IAsyncAction OpenExcelAsync( Stream stream, int sheetIndex )
| Exception | Description | 
|---|---|
| System.ArgumentNullException | No stream is specified or the specified stream is null. | 
| System.ArgumentException | No stream is specified or the specified stream is empty. | 
Target Platforms: Windows Server 2012, Windows RT