Name

ParamArray Attribute

Class

System.ParamArrayAttribute

Applies to

Parameter

Description

Indicates that the parameter represents a parameter array — i.e., a variable number of arguments.

The same effect is achieved by using the ParamArray keyword in a function or subroutine declaration. In fact, the ParamArray keyword is compiled into the ParamArray attribute.

If you do use the attribute, it must appear as <ParamArrayAttribute> rather than <ParamArray>, since ParamArray is a Visual Basic keyword.

Constructor

New(  )

Properties

None

Get VB.NET Language in a Nutshell, Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.