Class
Match

Implements the MATCH function, which searches for a value in a range and returns its relative position within that range.

Definition

Constructors

Match()

Initializes a new MATCH function instance.

Declaration

cs-api-definition
public Match()

Fields

FunctionName

The name of the function.

Declaration

cs-api-definition
public static readonly string FunctionName

Field Value

string

Properties

FunctionInfo

Gets the metadata describing the MATCH function's category, description, and argument requirements.

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 as "MATCH".

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 MATCH function by searching the lookup array for the specified value and returning its 1-based position.

Declaration

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

Parameters

context

FunctionEvaluationContext<object>

The context.

Returns

RadExpression

Function result as RadExpression.

Overrides FunctionWithArguments.EvaluateOverride(FunctionEvaluationContext<object>)