Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

ColumnDataTypeCollection Class

Stores data format settings for columns in the imported CSV or TXT file.

Namespace: DevExpress.XtraSpreadsheet.Import

Assembly: DevExpress.Spreadsheet.v24.2.Core.dll

NuGet Package: DevExpress.Spreadsheet.Core

#Declaration

public class ColumnDataTypeCollection

The following members return ColumnDataTypeCollection objects:

#Remarks

The ColumnDataTypeCollection collection provides a mapping from a set of document columns to a set of column data formats. The ColumnDataTypeCollection instance is available from the CsvDocumentImporterOptions.ColumnTypes or TxtDocumentImporterOptions.ColumnTypes property, depending on the file format of the imported document. To specify a data type for a particular column in the imported document, use the ColumnDataTypeCollection.Item property. Note that the column data format settings are taken into account for the imported document only if the CsvDocumentImporterOptions.ValueTypeDetectMode property (for a CSV file import process) or the TxtDocumentImporterOptions.ValueTypeDetectMode (for a TXT file import process) is set to CsvValueTypeDetectMode.Advanced.

#Inheritance

Object
ColumnDataTypeCollection
See Also