Provides access to Visual Basic safe arrays.
The safeArray argument must have a VBArray value before being passed to the VBArray constructor. This can be acquired by retrieving the value from an existing ActiveX or other object.
Arrays created in JScript and arrays created in Visual Basic both interoperate with .NET Framework arrays. Consequently, the elements of an array created in Visual Basic are directly accessible in JScript. The VBArray object is only provided for backwards compatibility. For more information on arrays, see Array Object, Dim Statement, and Array.
A VBArray can have multiple dimensions. The indices of each dimension can be different. The dimensions method retrieves the number of dimensions in the array; the lbound and ubound methods retrieve the range of indices used by each dimension.