New to Telerik Document ProcessingStart a free 30-day trial

Expression representing a two-dimensional array of expressions, used for multi-cell array formulas and literal array constants.

Definition

Constructors

Initializes a new instance of the ArrayExpression class with the specified expression array.

C#
public ArrayExpression(CompressedExpressionCollection array)
Parameters:arrayCompressedExpressionCollection

The array.

Methods

Returns an enumerator that iterates through the collection.

C#
public IEnumerator<RadExpression> GetEnumerator()
Returns:

IEnumerator<RadExpression>

A IEnumerator<T> that can be used to iterate through the collection.

Implements: IEnumerable<RadExpression>.GetEnumerator()

Evaluates all expressions in the array and returns a new ArrayExpression with the computed constant values.

C#
protected override RadExpression GetValueOverride()
Returns:

RadExpression

The value as RadExpression.

Overrides: ConstantExpression.GetValueOverride()

Properties

Gets the number of columns in the array.

C#
public int ColumnCount { get; }
Property Value:

The column count.

Gets the number of rows in the array.

C#
public int RowCount { get; }
Property Value:

The row count.

Gets the RadExpression at the specified row and column index.

C#
public RadExpression this[int rowIndex, int columnIndex] { get; }
Parameters:rowIndexintcolumnIndexintProperty Value:

The RadExpression at the specified row and column index.