'<method1>' and '<method2>' cannot overload each other because they differ only by parameters declared 'ParamArray'

You have attempted to overload two methods that differ from each other only by a ParamArray parameter or parameters. The compiler considers a procedure with a ParamArray parameter to have an infinite number of overloads differing from each other in what is passed to the parameter array.

Error ID: BC30368

To correct this error

  • Make sure the methods are differentiated by more than the ParamArray parameters.

See Also

Concepts

Considerations in Overloading Procedures

Parameter Arrays