Class
Code

Implements the CODE function, which returns the numeric code of the first character in a text string.

Definition

Constructors

Code()

Initializes a new CODE function instance that converts the first character of text to its numeric code.

Declaration

cs-api-definition
public Code()

Fields

FunctionName

The name of the function.

Declaration

cs-api-definition
public static readonly string FunctionName

Field Value

string

Properties

FunctionInfo

Gets the function info.

Declaration

cs-api-definition
public override FunctionInfo FunctionInfo { get; }

Property Value

FunctionInfo

The function info as FunctionInfo.

Overrides FunctionBase.FunctionInfo

Name

Gets the name of the function.

Declaration

cs-api-definition
public override string Name { get; }

Property Value

string

The name as String.

Overrides FunctionBase.Name

Methods

EvaluateOverride(FunctionEvaluationContext<string>)

Virtual method evaluating the function with System.Object arguments array.

Declaration

cs-api-definition
protected override RadExpression EvaluateOverride(FunctionEvaluationContext<string> context)

Parameters

context

FunctionEvaluationContext<string>

The context.

Returns

RadExpression

Functions result as RadExpression.

Overrides FunctionWithSameTypeArguments<string>.EvaluateOverride(FunctionEvaluationContext<string>)