Skip to main content
A newer version of this page is available. .
.NET Framework 4.5.2+
Row

DataImportOptions.Converter Property

Gets or sets a converter for imported data.

Namespace: DevExpress.Spreadsheet

Assembly: DevExpress.Spreadsheet.v19.1.Core.dll

Declaration

public IDataValueConverter Converter { get; set; }

Property Value

Type Description
IDataValueConverter

An object implementing the IDataValueConverter interface.

Remarks

The following example demonstrates using a custom converter in the WorksheetExtensions.Import method.

Example

Dim list As New List(Of TestObject)()
list.Add(New TestObject(1, "1", True))
list.Add(New TestObject(2, "2", False))
worksheet.Import(list, 0, 0, New DataSourceImportOptions() With {.Converter = New TestDataValueConverter()})
See Also