VB.NET Language in a Nutshell

   
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

   

Категории