Excel DNA can handle variable # of parameters (C# paramArrayAttribute)

1.1k Views Asked by At

Now,Excel DNA can handle variable # of parameters (C# "paramArrayAttribute") Such as,

[ExcelFunction(Description = " ",IsVolatile=true)]
public static object VI(params string[] optional)
{
   return "";
}
1

There are 1 best solutions below

0
On BEST ANSWER

The Excel-DNA Registration extension supports params registration and other type conversions: https://github.com/Excel-DNA/Registration