Class
ArrayExpression

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

Definition

Constructors

ArrayExpression(CompressedExpressionCollection)

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

Declaration

cs-api-definition
public ArrayExpression(CompressedExpressionCollection array)

Parameters

array

CompressedExpressionCollection

The array.

Properties

ColumnCount

Gets the number of columns in the array.

Declaration

cs-api-definition
public int ColumnCount { get; }

Property Value

int

The column count.

RowCount

Gets the number of rows in the array.

Declaration

cs-api-definition
public int RowCount { get; }

Property Value

int

The row count.

this[int, int]

Gets the RadExpression at the specified row and column index.

Declaration

cs-api-definition
public RadExpression this[int rowIndex, int columnIndex] { get; }

Parameters

rowIndex

int

columnIndex

int

Property Value

RadExpression

The RadExpression at the specified row and column index.

Methods

GetEnumerator()

Returns an enumerator that iterates through the collection.

Declaration

cs-api-definition
public IEnumerator<RadExpression> GetEnumerator()

Returns

IEnumerator<RadExpression>

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

GetValueOverride()

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

Declaration

cs-api-definition
protected override RadExpression GetValueOverride()

Returns

RadExpression

The value as RadExpression.

Overrides ConstantExpression.GetValueOverride()