ClassTypeFunction
Implements the TYPE function, which returns a numeric code indicating the data type of a value (1=number, 2=text, 4=boolean, 16=error, 64=array).
Definition
Namespace:Telerik.Windows.Documents.Spreadsheet.Expressions.Functions
Assembly:Telerik.Windows.Documents.Spreadsheet.dll
Syntax:
public class TypeFunction : FunctionBase
Inheritance: objectFunctionBaseTypeFunction
Inherited Members
Constructors
TypeFunction()
Initializes a new TYPE function instance for determining value data types.
Declaration
public TypeFunction()
Fields
FunctionName
The name of the function.
Properties
FunctionInfo
Gets metadata describing the function's category, description, and argument structure.
Declaration
public override FunctionInfo FunctionInfo { get; }
Property Value
The function info as FunctionInfo.
Overrides
Methods
EvaluateOverride(FunctionEvaluationContext<RadExpression>)
Evaluates the function by examining the argument's expression type and returning the corresponding numeric type code.
Declaration
protected override RadExpression EvaluateOverride(FunctionEvaluationContext<RadExpression> context)
Parameters
context
FunctionEvaluationContext<RadExpression>
The context.
Returns
Function result as RadExpression.
Overrides