Skip to main content

ExpressionContext Members

Contains formula environment information - the cell or range, the worksheet, the current culture, the reference style, and indicates whether the formula is an array formula.

Constructors

Name Description
ExpressionContext() Initializes a new instance of the ExpressionContext class with the default settings.
ExpressionContext(Int32, Int32, Worksheet, CultureInfo, ReferenceStyle, ExpressionStyle) Initializes a new instance of the ExpressionContext class with the specified settings.
ExpressionContext(Int32, Int32, Worksheet, CultureInfo, Boolean, ReferenceStyle) Obsolete. Initializes a new instance of the ExpressionContext class with the specified settings.
ExpressionContext(Int32, Int32, Worksheet) Initializes a new instance of the ExpressionContext class with the specified settings.

Properties

Name Description
Column Gets or sets the column of a cell containing the formula.
Culture Gets or sets the culture setting of a formula environment.
ExpressionStyle Gets or sets the worksheet-specific parameter which determines how the formula is interpreted and calculated.
IsArrayFormula Obsolete. Gets or sets whether the expression is an array formula.
ReferenceStyle Gets or sets the cell reference style used in the expression.
Row Gets or sets the row of a cell containing the formula.
Sheet Gets or sets a worksheet that contains a formula.

Methods

Name Description
Equals(Object, Object) static Determines whether the specified object instances are considered equal. Inherited from Object.
Equals(Object) Determines whether the specified object is equal to the current object. Inherited from Object.
GetHashCode() Serves as the default hash function. Inherited from Object.
GetType() Gets the Type of the current instance. Inherited from Object.
MemberwiseClone() protected Creates a shallow copy of the current Object. Inherited from Object.
ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance. Inherited from Object.
ToString() Returns a string that represents the current object. Inherited from Object.
See Also