NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

8.1.4.4 Paramarray parameters

A parameter declared with a ParamArray modifier is a paramarray parameter. If the ParamArray modifier is present, the ByVal modifier must be specified and no other parameter may use the ParamArray modifier. A paramarray parameter's type must be a single-dimensional array and it must be the last parameter in the formal parameter list.

A paramarray parameter represents an indeterminate number of formal parameters of the type of the paramarray. If the type of the paramarray is Object, then each of these pseudo-parameters is optional with a default value of Nothing. Within the method itself, a paramarray parameter is treated as its declared type and has no special semantics. A paramarray parameter is implicitly optional with a default value of Nothing.