GrapeCity.Xaml.SpreadSheet.UI
OpenTextFileAsync Method (GcSpreadSheet)


GrapeCity.Xaml.SpreadSheet.UI Namespace > GcSpreadSheet Class : OpenTextFileAsync Method
The destination sheet index for loading.
Stream from which to load.
The import flags.
Row delimiter string.
Column delimiter string.
Cell delimiter string.
Loads the CSV file with the specified separator asynchronously.
Syntax
'Declaration
 
Public Function OpenTextFileAsync( _
   ByVal sheetIndex As Integer, _
   ByVal stream As Stream, _
   ByVal flags As TextFileOpenFlags, _
   ByVal rowDelimiter As String, _
   ByVal columnDelimiter As String, _
   ByVal cellDelimiter As String _
) As IAsyncAction
'Usage
 
Dim instance As GcSpreadSheet
Dim sheetIndex As Integer
Dim stream As Stream
Dim flags As TextFileOpenFlags
Dim rowDelimiter As String
Dim columnDelimiter As String
Dim cellDelimiter As String
Dim value As IAsyncAction
 
value = instance.OpenTextFileAsync(sheetIndex, stream, flags, rowDelimiter, columnDelimiter, cellDelimiter)
public IAsyncAction OpenTextFileAsync( 
   int sheetIndex,
   Stream stream,
   TextFileOpenFlags flags,
   string rowDelimiter,
   string columnDelimiter,
   string cellDelimiter
)

Parameters

sheetIndex
The destination sheet index for loading.
stream
Stream from which to load.
flags
The import flags.
rowDelimiter
Row delimiter string.
columnDelimiter
Column delimiter string.
cellDelimiter
Cell delimiter string.
See Also

Reference

GcSpreadSheet Class
GcSpreadSheet Members