New to Telerik Document ProcessingStart a free 30-day trial

CountIf

Class

Implements the COUNTIF function, which counts cells in a range that meet a specified criteria.

Definition

Constructors

Initializes a new instance of the COUNTIF function.

C#
public CountIf()

Fields

The name of the function.

C#
public static readonly string FunctionName

Methods

Evaluates the COUNTIF function and returns the count of cells matching the criteria.

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

The context.

Returns:

RadExpression

Functions result as RadExpression.

Overrides: FunctionWithArguments.EvaluateOverride(FunctionEvaluationContext<object>)

Properties

Gets the argument conversion rules.

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

The argument conversion rules as ArgumentConversionRules.

Overrides: FunctionBase.ArgumentConversionRules

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