New to Telerik Document ProcessingStart a free 30-day trial

Combines two cell reference range expressions into a union, allowing formulas to reference multiple non-contiguous ranges.

Definition

Constructors

Initializes a new instance of the UnionExpression class that combines two range expressions.

C#
public UnionExpression(RadExpression left, RadExpression right, Workbook workbook = null)
Parameters:leftRadExpression

The left.

rightRadExpression

The right.

workbookWorkbook

The workbook.

Methods

Evaluates the union of the operand ranges and returns the combined range expression or an error if the ranges are invalid.

C#
protected override RadExpression GetCellReferenceValueOverride(CellReferenceRangeExpression[] operands)
Parameters:operandsCellReferenceRangeExpression[]

The operands of type T.

Returns:

RadExpression

Value as RadExpression.

Overrides: CellReferenceBinaryOperatorExpression.GetCellReferenceValueOverride(CellReferenceRangeExpression[])

Properties

Gets the operator metadata describing the union operator's precedence and behavior.

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

The operator info as OperatorInfo.

Overrides: OperatorExpression.OperatorInfo