Back to Devexpress

ParameterValue.ErrorValue Property

officefileapi-devexpress-dot-spreadsheet-dot-functions-dot-parametervalue-55820669.md

latest2.6 KB
Original Source

ParameterValue.ErrorValue Property

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

Declaration

csharp
public ErrorValueInfo ErrorValue { get; }
vb
Public ReadOnly Property ErrorValue As ErrorValueInfo

Property Value

TypeDescription
ErrorValueInfo

An ErrorValueInfo object containing information on an error.

|

Remarks

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

csharp
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

vb
ElseIf parameter.IsError Then
    Return ValueToErrorDictonary(parameter.ErrorValue)
ElseIf parameter.IsRange Then

See Also

ParameterValue Class

ParameterValue Members

DevExpress.Spreadsheet.Functions Namespace