ParamArray Attribute


ParamArray Attribute

Class

System.ParamArrayAttribute

Applies To

Parameter

Constructor

     New(  ) 

Properties

None defined

Description

The <ParamArray> attribute indicates that the parameter represents a parameter array, which can support 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 converted into the <ParamArray> attribute during a compile.

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




Visual Basic 2005(c) In a Nutshell
Visual Basic 2005 in a Nutshell (In a Nutshell (OReilly))
ISBN: 059610152X
EAN: 2147483647
Year: 2004
Pages: 712

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net