Skip to main content
A newer version of this page is available. .

ICellValueToColumnTypeConverter.Convert(Cell, CellValue, Type, out Object) Method

Converts a cell value to the data stored in the DataTable.

Namespace: DevExpress.Spreadsheet.Export

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

Declaration

ConversionResult Convert(
    Cell readOnlyCell,
    CellValue cellValue,
    Type dataColumnType,
    out object result
)

Parameters

Name Type Description
readOnlyCell Cell

A Cell object that is the worksheet cell containing the source value.

cellValue CellValue

A CellValue object that is the cell value to be converted.

dataColumnType Type

A Type object that indicates the type of data stored in the column.

result Object

An object that is the result of conversion.

Returns

Type Description
ConversionResult

A ConversionResult enumeration that indicates whether the conversion is successful.

Remarks

For a use example, please review the How to: Use a Custom Converter for Export to a DataTable document.

See Also