Edit

Share via


<type> parameters cannot be declared 'ParamArray'

A definition of a delegate, event, or operator declares a ParamArray parameter.

ParamArray parameters are allowed only on Declare, Function, Property, and Sub parameters.

Error ID: BC33009

To correct this error

  • Remove the ParamArray keyword from the parameter list.

  • If you are defining an operator, you might be able to achieve the ParamArray functionality with a series of overloads.

  • If you are defining a delegate or event, you must rework the overall logic of this part of your application. You cannot use Optional or ParamArray parameters, or overloaded versions, on delegate or event parameters.

See also