API Reference

Delegate

ExcelCustomFormulaFunction

Namespace OfficeIMO.Excel
Assembly OfficeIMO.Excel
Base MulticastDelegate
Implements
ICloneable ISerializable
Modifiers sealed

Evaluates a registered custom formula function. Return null when the supplied argument shape is unsupported.

Inheritance

  • MulticastDelegate
  • ExcelCustomFormulaFunction

Remarks

Range arguments are expanded into scalar values in row-major workbook order. Callbacks should be deterministic and free of workbook mutations.

Usage

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

Accepted by parameters

Constructors

public ExcelCustomFormulaFunction(Object object, IntPtr method) #

Parameters

object Object requiredposition: 0
method IntPtr requiredposition: 1

Methods

public virtual IAsyncResult BeginInvoke(ExcelCustomFormulaFunctionContext context, IReadOnlyList<ExcelFormulaValue> arguments, AsyncCallback callback, Object object) #
Returns: IAsyncResult

Parameters

context ExcelCustomFormulaFunctionContext requiredposition: 0
arguments IReadOnlyList<ExcelFormulaValue> requiredposition: 1
callback AsyncCallback requiredposition: 2
object Object requiredposition: 3
public virtual Nullable<ExcelFormulaValue> EndInvoke(IAsyncResult result) #
Returns: Nullable<ExcelFormulaValue>

Parameters

result IAsyncResult requiredposition: 0
public virtual Nullable<ExcelFormulaValue> Invoke(ExcelCustomFormulaFunctionContext context, IReadOnlyList<ExcelFormulaValue> arguments) #
Returns: Nullable<ExcelFormulaValue>

Parameters

context ExcelCustomFormulaFunctionContext requiredposition: 0
arguments IReadOnlyList<ExcelFormulaValue> requiredposition: 1