officefileapi-devexpress-dot-spreadsheet-dot-functions-dot-parametervalue-55820669.md
Gets information on an error which is the parameter.
Namespace : DevExpress.Spreadsheet.Functions
Assembly : DevExpress.Spreadsheet.v25.2.Core.dll
NuGet Package : DevExpress.Spreadsheet.Core
public ErrorValueInfo ErrorValue { get; }
Public ReadOnly Property ErrorValue As ErrorValueInfo
| Type | Description |
|---|---|
| ErrorValueInfo |
An ErrorValueInfo object containing information on an error.
|
If the parameter is not an error, the ErrorValue property returns null.
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the ErrorValue 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.
how-to-use-excel-add-ins-in-winforms-spreadsheet/CS/SpreadsheetAddIn/Form1.cs#L136
else if (parameter.IsError)
return ValueToErrorDictonary[parameter.ErrorValue];
else if (parameter.IsRange)
how-to-use-excel-add-ins-in-winforms-spreadsheet/VB/SpreadsheetAddIn/Form1.vb#L149
ElseIf parameter.IsError Then
Return ValueToErrorDictonary(parameter.ErrorValue)
ElseIf parameter.IsRange Then
See Also