TextOptions(IFormatProvider, Boolean, Boolean, Int32, Int32, Type) Constructor

Constructs a new set of options for delimited text files.

Definition

Namespace: Extreme.Data
Assembly: Extreme.Data (in Extreme.Data.dll) Version: 3.2.0
C#
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

ArgumentOutOfRangeExceptionstartRow is less than 1.

See Also