ErrorType
Implements the ERROR.TYPE function, which maps error values to numeric codes (1-7) and returns #N/A if no error exists.
Definition
Namespace:Telerik.Windows.Documents.Spreadsheet.Expressions.Functions
Assembly:Telerik.Windows.Documents.Spreadsheet.dll
Syntax:
public class ErrorType : FunctionBase
Inheritance: objectFunctionBaseErrorType
Inherited Members
Constructors
Initializes the ERROR.TYPE function, which identifies error types and returns their numeric classification.
public ErrorType()
Fields
The name of the function.
public static readonly string FunctionName
Methods
Evaluates the error type argument and returns the corresponding numeric code (1=#NULL!, 2=#DIV/0!, 3=#VALUE!, 4=#REF!, 5=#NAME?, 6=#NUM!, 7=#N/A) or #N/A if not an error.
protected override RadExpression EvaluateOverride(FunctionEvaluationContext<RadExpression> context)
The context.
Returns:Function result as RadExpression.
Overrides:
Properties
Gets the metadata describing the function's signature, including the required error value argument.
public override FunctionInfo FunctionInfo { get; }
The function info as FunctionInfo.
Overrides: