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

CsvDocumentImporterOptions.ValueTypeDetectMode Property

Gets or sets the level of complexity to which the type of imported value is recognized.

Namespace: DevExpress.XtraSpreadsheet.Import

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

NuGet Package: DevExpress.Spreadsheet.Core

#Declaration

[DefaultValue(CsvValueTypeDetectMode.Default)]
public override CsvValueTypeDetectMode ValueTypeDetectMode { get; set; }

#Property Value

Type Default Description
CsvValueTypeDetectMode Default

A CsvValueTypeDetectMode enumeration value that characterizes the level of complexity.

Available values:

Name Description
Default

Default mode.

None

Values are treated as strings.

Simple

Value types are recognized.

Advanced

Value types and formats are recognized.

#Property Paths

You can access this nested property as listed below:

Object Type Path to ValueTypeDetectMode
WorkbookImportOptions
.Csv .ValueTypeDetectMode
See Also