Text Options Constructor
Definition
Namespace: Extreme.Data
Assembly: Extreme.Data (in Extreme.Data.dll) Version: 3.2.0
Assembly: Extreme.Data (in Extreme.Data.dll) Version: 3.2.0
Overload List
Text | Constructs a new set of options for delimited text files. |
Text | Constructs a new set of options for delimited text files. |
TextOptions(IFormatProvider, Boolean, Boolean, Int32, Int32, Type)
Constructs a new set of options for delimited text files.
public TextOptions(
IFormatProvider formatProvider,
bool rowHeaders,
bool columnHeaders,
int startRow,
int inferenceRows,
Type decimalType
)
Parameters
- formatProvider IFormatProvider
- An IFormatProvider that is used in the conversion between text and other data types.
- rowHeaders Boolean
- Indicates that the first column contains row headers.
- columnHeaders Boolean
- Indicates that the first row contains column headers.
- startRow Int32
- An integer specifying the 0-based row which contains the start of the data.
- inferenceRows Int32
- The number of rows to use to infer the types of the columns.
- decimalType Type
- The type to use for numbers containing decimals.
Exceptions
Argument | startRow is less than 1. |
TextOptions(IFormatProvider, Boolean, Boolean, Int32, Int32, Type, AutoCategorization, Int32)
Constructs a new set of options for delimited text files.
public TextOptions(
IFormatProvider formatProvider,
bool rowHeaders,
bool columnHeaders,
int startRow,
int inferenceRows,
Type decimalType,
AutoCategorization autoCategorize,
int maxCategories
)
Parameters
- formatProvider IFormatProvider
- An IFormatProvider that is used in the conversion between text and other data types.
- rowHeaders Boolean
- Indicates that the first column contains row headers.
- columnHeaders Boolean
- Indicates that the first row contains column headers.
- startRow Int32
- An integer specifying the 0-based row which contains the start of the data.
- inferenceRows Int32
- The number of rows to use to infer the types of the columns.
- decimalType Type
- The type to use for numbers containing decimals.
- autoCategorize AutoCategorization
- Specifies which columns should be automatically converted to categorical columns.
- maxCategories Int32
- The largest number of distinct levels for a column to be considered categorical.
Exceptions
Argument | startRow is less than 1. |