officefileapi-devexpress-dot-spreadsheet-dot-cellvalue-c5cf91fa.md
Returns the CellValue object specifying the #DIV/0! error value of a cell.
Namespace : DevExpress.Spreadsheet
Assembly : DevExpress.Spreadsheet.v25.2.Core.dll
NuGet Package : DevExpress.Spreadsheet.Core
public static CellValue ErrorDivisionByZero
Public Shared ErrorDivisionByZero As CellValue
| Type | Description |
|---|---|
| CellValue |
A cell error value.
|
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the ErrorDivisionByZero field.
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.
how-to-use-excel-add-ins-in-winforms-spreadsheet/CS/SpreadsheetAddIn/Form1.cs#L69
Dictionary<int, DevExpress.Spreadsheet.CellValue> result = new Dictionary<int, DevExpress.Spreadsheet.CellValue>();
result.Add(-2146826281, DevExpress.Spreadsheet.CellValue.ErrorDivisionByZero);
result.Add(-2146826246, DevExpress.Spreadsheet.CellValue.ErrorValueNotAvailable);
how-to-use-excel-add-ins-in-winforms-spreadsheet/VB/SpreadsheetAddIn/Form1.vb#L66
Dim result As New Dictionary(Of Integer, DevExpress.Spreadsheet.CellValue)()
result.Add(-2146826281, DevExpress.Spreadsheet.CellValue.ErrorDivisionByZero)
result.Add(-2146826246, DevExpress.Spreadsheet.CellValue.ErrorValueNotAvailable)
See Also