Visual Basic (Declaration) | |
---|---|
Public Overloads Shared Sub LoadTextFile( _ ByVal sheetView As SheetView, _ ByVal stream As Stream, _ ByVal unformatted As Boolean, _ ByVal includeHeaders As IncludeHeaders, _ ByVal rowDelimiter As String, _ ByVal columnDelimiter As String, _ ByVal cellDelimiter As String, _ ByVal encoding As Encoding _ ) |
Visual Basic (Usage) | Copy Code |
---|---|
Dim sheetView As SheetView Dim stream As Stream Dim unformatted As Boolean Dim includeHeaders As IncludeHeaders Dim rowDelimiter As String Dim columnDelimiter As String Dim cellDelimiter As String Dim encoding As Encoding SpreadSerializer.LoadTextFile(sheetView, stream, unformatted, includeHeaders, rowDelimiter, columnDelimiter, cellDelimiter, encoding) |
C# | |
---|---|
public static void LoadTextFile( SheetView sheetView, Stream stream, bool unformatted, IncludeHeaders includeHeaders, string rowDelimiter, string columnDelimiter, string cellDelimiter, Encoding encoding ) |
Parameters
- sheetView
- Sheet into which to load the text data
- stream
- Stream from which to load text
- unformatted
- Whether to bypass formatting
- includeHeaders
- Whether headers are handled as data
- rowDelimiter
- Row delimiter string
- columnDelimiter
- Column delimiter string
- cellDelimiter
- Cell delimiter string
- encoding
- Encoding of the file
Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family