NewArray
Creates an array of values.
Public Function NewArray(
ByVal ElementType As VbVarType,
ParamArray ArrayElements ( ) As Variant ) As Variant
Parameters
- ElementType
-
[ByVal]
VbVarType.
The target datatype of the resultant array and the values to be converted to.
- ArrayElements
-
[ByRef]
Variant.
The values to be put into the new array.
Return Values
Variant - An array of the specified datatype and containing the array elements with conversion,
or an empty array if no elements are defined.
See Also
Project CorLib Overview
Class Constructors Overview