Skip to main content

CellValueToColumnTypeConverter.SkipErrorValues Property

Gets or sets whether to skip cells with error values.

Namespace: DevExpress.Spreadsheet.Export

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

NuGet Package: DevExpress.Spreadsheet.Core

Declaration

public bool SkipErrorValues { get; set; }

Property Value

Type Description
Boolean

true, to skip cells with error values; otherwise, false.

Remarks

If the SkipErrorValues is set to false and the converter attempts to process a cell that contains an error (CellValueType.Error type), the ICellValueToColumnTypeConverter.Convert method will return the ConversionResult.Error value. Subsequently, the exception will be thrown. To handle the exception, subscribe to the DataTableExporter.CellValueConversionError event.

The following code snippets (auto-collected from DevExpress Examples) contain references to the SkipErrorValues property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also