Method cannot have both a ParamArray and Optional parameters
A ParamArray
argument is automatically optional, and it must be the only optional argument in the procedure declaration. All preceding arguments must be required.
Error ID: BC30046
- Remove the optional arguments in the declaration.
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
.NET feedback
.NET is an open source project. Select a link to provide feedback: