New to Telerik Document Processing? Start a free 30-day trial

Code

Class

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

Definition

Constructors

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

C#
public Code()

Fields

The name of the function.

C#
public static readonly string FunctionName

Properties

Gets the function info.

C#
public override FunctionInfo FunctionInfo { get; }
Property Value:

The function info as FunctionInfo.

Overrides: FunctionBase.FunctionInfo

Gets the name of the function.

C#
public override string Name { get; }
Property Value:

The name as String.

Overrides: FunctionBase.Name

Methods

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

C#
protected override RadExpression EvaluateOverride(FunctionEvaluationContext<string> context)
Parameters:contextFunctionEvaluationContext<string>

The context.

Returns:

RadExpression

Functions result as RadExpression.

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