Export (0) Print
Expand All
3 out of 6 rated this helpful - Rate this topic

ParamArray

The ParamArray keyword indicates that a procedure argument is an optional array of elements of the specified type. ParamArray can be used only on the last argument of an argument list. It allows you to pass an arbitrary number of arguments to the procedure. A ParamArray argument is always passed using ByVal.

The ParamArray keyword is used in these contexts:

Declare Statement

Function Statement

Property Statement

Sub Statement

See Also

Visual Basic Language Keywords | Parameter Arrays

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.