Excel-DNA / Excel-DNA/ExcelDna

Dynamic delegate registration with variable amount of parameters

Open
#452 5 comments 0 reactions 0 assignees View on GitHub
Dominant language
C#
Stars
1.5k
Forks
292
Avg merge
20d 12h
Merged PRs (30d)
1

Description

Hi Govert,

Is it possible to replicate the dynamic delegate registration example [(here)](https://docs.excel-dna.net/dynamic-delegate-registration/) for a function with variable amount of parameters? Like when using params in C# or paramArray in VBA.

I tried declaring a new delegate type as suggested [(here)](https://stackoverflow.com/questions/1136470/can-you-use-the-params-keyword-in-a-delegate) but had no success.

Best,
Eduardo

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.