[]
Loads delimited text from a specified file into the sheet.
public void LoadTextFileRange(string fileName, CellRange cellRange, TextFileFlags textFileFlags)
Public Sub LoadTextFileRange(fileName As String, cellRange As CellRange, textFileFlags As TextFileFlags)
Type | Name | Description |
---|---|---|
string | fileName | Path and name of the file to load |
CellRange | cellRange | Specifies range process the data when loading from a text file |
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 LoadTextFileRange(string fileName, CellRange cellRange, TextFileFlags textFileFlags, string rowDelimiter, string columnDelimiter, string cellDelimiter)
Public Sub LoadTextFileRange(fileName As String, cellRange As CellRange, textFileFlags As TextFileFlags, rowDelimiter As String, columnDelimiter As String, cellDelimiter As String)
Type | Name | Description |
---|---|---|
string | fileName | Path and name of the file to load |
CellRange | cellRange | Specifies range process the data when loading from a text file |
TextFileFlags | textFileFlags | Specifies how to process the data when loading from a text file |
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 sheetwith the specified encoding.
public void LoadTextFileRange(string fileName, CellRange cellRange, TextFileFlags textFileFlags, string rowDelimiter, string columnDelimiter, string cellDelimiter, Encoding encoding)
Public Sub LoadTextFileRange(fileName As String, cellRange As CellRange, textFileFlags As TextFileFlags, 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 |
CellRange | cellRange | Specifies range process the data when loading from a text file |
TextFileFlags | textFileFlags | Specifies how to process the data when loading from a text file |
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.
public void LoadTextFileRange(Stream stream, CellRange cellRange, TextFileFlags textFileFlags)
Public Sub LoadTextFileRange(stream As Stream, cellRange As CellRange, textFileFlags As TextFileFlags)
Type | Name | Description |
---|---|---|
Stream | stream | Stream to which to load the text of the sheet |
CellRange | cellRange | Specifies range process the data when loading from a text file |
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 the specified encoding.
public void LoadTextFileRange(Stream stream, CellRange cellRange, TextFileFlags textFileFlags, string rowDelimiter, string columnDelimiter, string cellDelimiter, Encoding encoding)
Public Sub LoadTextFileRange(stream As Stream, cellRange As CellRange, textFileFlags As TextFileFlags, 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 |
CellRange | cellRange | Specifies range process the data when loading from a text file |
TextFileFlags | textFileFlags | Specifies how to process the data when loading from a text file |
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.
public void LoadTextFileRange(Stream stream, CellRange cellRange, TextFileFlags textFileFlags, string rowDelimiter, string columnDelimiter, string cellDelimiter)
Public Sub LoadTextFileRange(stream As Stream, cellRange As CellRange, textFileFlags As TextFileFlags, rowDelimiter As String, columnDelimiter As String, cellDelimiter As String)
Type | Name | Description |
---|---|---|
Stream | stream | Stream to which to load the text of the sheet |
CellRange | cellRange | Specifies range process the data when loading from a text file |
TextFileFlags | textFileFlags | Specifies how to process the data when loading from a text file |
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 |