Back to Devexpress

CellValue.ErrorDivisionByZero Field

officefileapi-devexpress-dot-spreadsheet-dot-cellvalue-c5cf91fa.md

latest2.8 KB
Original Source

CellValue.ErrorDivisionByZero Field

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

Declaration

csharp
public static CellValue ErrorDivisionByZero
vb
Public Shared ErrorDivisionByZero As CellValue

Field Value

TypeDescription
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

csharp
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

vb
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

CellValue Class

CellValue Members

DevExpress.Spreadsheet Namespace