API Reference
Delegate
ExcelCustomFormulaFunction
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
- method IntPtr
Methods
public virtual IAsyncResult BeginInvoke(ExcelCustomFormulaFunctionContext context, IReadOnlyList<ExcelFormulaValue> arguments, AsyncCallback callback, Object object) #Returns:
IAsyncResultParameters
- context ExcelCustomFormulaFunctionContext
- arguments IReadOnlyList<ExcelFormulaValue>
- callback AsyncCallback
- object Object
public virtual Nullable<ExcelFormulaValue> EndInvoke(IAsyncResult result) #Returns:
Nullable<ExcelFormulaValue>Parameters
- result IAsyncResult
public virtual Nullable<ExcelFormulaValue> Invoke(ExcelCustomFormulaFunctionContext context, IReadOnlyList<ExcelFormulaValue> arguments) #Returns:
Nullable<ExcelFormulaValue>Parameters
- context ExcelCustomFormulaFunctionContext
- arguments IReadOnlyList<ExcelFormulaValue>
Inherited Methods
public Object DynamicInvoke(params Object[] args) #Returns:
ObjectInherited from Delegate
Parameters
- args Object[]
public override sealed Boolean Equals(Object obj) #Returns:
BooleanInherited from MulticastDelegate
Parameters
- obj Object
public override sealed Delegate[] GetInvocationList() #Returns:
Delegate[]Inherited from MulticastDelegate
public override Void GetObjectData(SerializationInfo info, StreamingContext context) #Returns:
VoidInherited from MulticastDelegate
Obsolete("This API supports obsolete formatter-based serialization. It should not be called or extended by application code.", DiagnosticId = "SYSLIB0051", UrlFormat = "https://aka.ms/dotnet-warnings/{0}") EditorBrowsable(1)Parameters
- info SerializationInfo
- context StreamingContext
Inherited Properties
public MethodInfo Method { get; } #Inherited from Delegate