[]
Loads delimited text from a specified file into the sheet, with or without headers, with the specified encoding.
public void LoadTextFile(string fileName, TextFileFlags textFileFlags)
Public Sub LoadTextFile(fileName As String, textFileFlags As TextFileFlags)
Type | Name | Description |
---|---|---|
string | fileName | Path and name of the file to load |
TextFileFlags | textFileFlags | Specifies how to process the data when loading from a text file |
Loads delimited text from a specified file into the sheet, with or without headers, with the specified encoding.
public void LoadTextFile(Stream stream, TextFileFlags textFileFlags)
Public Sub LoadTextFile(stream As Stream, textFileFlags As TextFileFlags)
Type | Name | Description |
---|---|---|
Stream | stream | Stream to which to load the text |
TextFileFlags | textFileFlags | Specifies how to process the data when loading from a text file |
Loads delimited text from a specified file into the sheet, with or without headers, with the specified encoding.
public void LoadTextFile(string fileName, TextFileFlags textFileFlags, IncludeHeaders includeHeaders, string rowDelimiter, string columnDelimiter, string cellDelimiter)
Public Sub LoadTextFile(fileName As String, textFileFlags As TextFileFlags, includeHeaders As IncludeHeaders, rowDelimiter As String, columnDelimiter As String, cellDelimiter As String)
Type | Name | Description |
---|---|---|
string | fileName | Path and name of the file to load |
TextFileFlags | textFileFlags | Specifies how to process the data when loading from a text file |
IncludeHeaders | includeHeaders | Whether to export headers as data |
string | rowDelimiter | Row delimiter string |
string | columnDelimiter | Column delimiter string |
string | cellDelimiter | Cell delimiter string |
Type | Condition |
---|---|
ArgumentException | Cell delimiter cannot be contained in a row or column delimiter |
Loads delimited text from a specified file into the sheet, with or without headers, with the specified encoding.
public void LoadTextFile(string fileName, TextFileFlags textFileFlags, IncludeHeaders includeHeaders, string rowDelimiter, string columnDelimiter, string cellDelimiter, Encoding encoding)
Public Sub LoadTextFile(fileName As String, textFileFlags As TextFileFlags, includeHeaders As IncludeHeaders, rowDelimiter As String, columnDelimiter As String, cellDelimiter As String, encoding As Encoding)
Type | Name | Description |
---|---|---|
string | fileName | Path and name of the file to load |
TextFileFlags | textFileFlags | Specifies how to process the data when loading from a text file |
IncludeHeaders | includeHeaders | Whether to export headers as data |
string | rowDelimiter | Row delimiter string |
string | columnDelimiter | Column delimiter string |
string | cellDelimiter | Cell delimiter string |
Encoding | encoding | Encoding |
Type | Condition |
---|---|
ArgumentException | Cell delimiter cannot be contained in a row or column delimiter |
Loads delimited text from a specified file into the sheet, with or without headers, with the specified encoding.
public void LoadTextFile(Stream stream, TextFileFlags textFileFlags, IncludeHeaders includeHeaders, string rowDelimiter, string columnDelimiter, string cellDelimiter)
Public Sub LoadTextFile(stream As Stream, textFileFlags As TextFileFlags, includeHeaders As IncludeHeaders, rowDelimiter As String, columnDelimiter As String, cellDelimiter As String)
Type | Name | Description |
---|---|---|
Stream | stream | Stream to which to save the text of the sheet |
TextFileFlags | textFileFlags | Specifies how to process the data when loading from a text file |
IncludeHeaders | includeHeaders | Whether to export headers as data |
string | rowDelimiter | Row delimiter string |
string | columnDelimiter | Column delimiter string |
string | cellDelimiter | Cell delimiter string |
Type | Condition |
---|---|
ArgumentException | Cell delimiter cannot be contained in a row or column delimiter |
Loads delimited text from a specified file into the sheet, with or without headers, with the specified encoding.
public void LoadTextFile(Stream stream, TextFileFlags textFileFlags, IncludeHeaders includeHeaders, string rowDelimiter, string columnDelimiter, string cellDelimiter, Encoding encoding)
Public Sub LoadTextFile(stream As Stream, textFileFlags As TextFileFlags, includeHeaders As IncludeHeaders, rowDelimiter As String, columnDelimiter As String, cellDelimiter As String, encoding As Encoding)
Type | Name | Description |
---|---|---|
Stream | stream | Stream to which to load the text of the sheet |
TextFileFlags | textFileFlags | Specifies how to process the data when loading from a text file |
IncludeHeaders | includeHeaders | Whether to export headers as data |
string | rowDelimiter | Row delimiter string |
string | columnDelimiter | Column delimiter string |
string | cellDelimiter | Cell delimiter string |
Encoding | encoding | Encoding |
Type | Condition |
---|---|
ArgumentException | Cell delimiter cannot be contained in a row or column delimiter |