VBArray.ubound() (Method)

A method that returns the index position of the last element in the VBArray.

Availability:

JScript - 3.0
Internet Explorer - 4.0
Property/method value type:Number primitive
JavaScript syntax:IEmyVBArray.ubound(aDimension)
Argument list:aDimensionThe dimension for which the upper bound is required

This is the upper boundary value for the indicated dimension. You will need to measure this for each dimension individually if the array is multi-dimensional.