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

CellValueToColumnTypeConverter.SkipErrorValues Property

Gets or sets whether to skip cells with error values.

Namespace: DevExpress.Spreadsheet.Export

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

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 snippet (auto-collected from DevExpress Examples) contains a reference 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