Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/

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

Explore 1 API references to this type

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

Accepted by parameters 1

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 ExcelFormulaValue? EndInvoke(IAsyncResult result) #
Returns: ExcelFormulaValue?

Parameters

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

Parameters

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