[]
An interface which the evaluation-enabled class must derived from.
public interface IEvaluationContext
Public Interface IEvaluationContext
| Name | Description |
|---|---|
| ArrayColumnCount | Gets the total number of columns inside a formula array. |
| ArrayColumnOffset | Gets the column offset of the cell inside a formula array. |
| ArrayRowCount | Gets the total number of rows inside a formula array. |
| ArrayRowOffset | Gets the row offset of the cell inside a formula array. |
| CachingEnabled | Gets a value indicating whether calculation caching is enabled. |
| ContextColumn | Gets the column index of the cell whose formula is being evaluated. |
| ContextRow | Gets the row index of the cell whose formula is being evaluated. |
| Date1904 | Gets whether the date system used to convert a date to a serial value starts since 1/1/1904. |
| Error | Gets or sets the calculation error. |
| ExcelDateTimeCompatible | Processing date time is compatible with Lotus123. It assumes that 1900 is not a leap year. |
| LanguagePackage | Gets the current language package for calculation. |
| ReferenceSource | Gets the reference source where the formula is being evaluated. |
| Name | Description |
|---|---|
| AllocValue() | Allocates a new IValue object. |
| AllocValue(int) | Allocates multiple IValue objects. |
| CastToInt(double) | |
| CastToLong(double) | |
| DeallocValue() | Deallocates the last created IValue object. |
| DeallocValue(int) | Deallocates the last created IValue objects. |
| EnterContext(IReferenceSource, int, int) | Enters the specified evaluating context. |
| Evaluate(Expression, IValue) | Evaluates the specified expression and returns the evaluated result via |
| Evaluate(IDelegate, IValue) | Evaluates the specified expression and returns the evaluated result via |
| ExitContext() | Exits from the current evaluating context back to the previous evaluating context. |
| GetRangeCache(IReferenceSource, int, int, int, int) | Gets the range cache. |
| GetValue(int) | Get the IValue object at the specified index. |