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
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
- 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 ExcelFormulaValue? EndInvoke(IAsyncResult result) #Returns:
ExcelFormulaValue?Parameters
- result IAsyncResult
public virtual ExcelFormulaValue? Invoke(ExcelCustomFormulaFunctionContext context, IReadOnlyList<ExcelFormulaValue> arguments) #Returns:
ExcelFormulaValue?Parameters
- context ExcelCustomFormulaFunctionContext
- arguments IReadOnlyList<ExcelFormulaValue>
Inherited Methods
public Object? DynamicInvoke(params Object?[]? args) #Returns:
Object?Inherited 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