Class
Rept

Repeats text a specified number of times; implements the REPT text function.

Definition

Constructors

Rept()

Initializes a new instance that repeats text a specified number of times.

Declaration

cs-api-definition
public Rept()

Fields

FunctionName

The name of the function.

Declaration

cs-api-definition
public static readonly string FunctionName

Field Value

string

Properties

FunctionInfo

Gets metadata about the function including its arguments and category.

Declaration

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

Property Value

FunctionInfo

The function info as FunctionInfo.

Overrides FunctionBase.FunctionInfo

Name

Gets the function name used in formulas.

Declaration

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

Property Value

string

The name as String.

Overrides FunctionBase.Name

Methods

EvaluateOverride(FunctionEvaluationContext<object>)

Evaluates the REPT function with the provided arguments and returns the repeated text, with a maximum result length of 32767 characters.

Declaration

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

Parameters

context

FunctionEvaluationContext<object>

Returns

RadExpression

Functions result as RadExpression.

Overrides FunctionWithArguments.EvaluateOverride(FunctionEvaluationContext<object>)