Array Class Summary

The following pages provide detailed information on the properties and methods of the Array Class.

Array variables of all types (e.g. Strings, Locations, Integers) are members of the built-in Array Class. You can use the properties of this class to determine the properties of an array.

The table below summaries the properties and methods for this class, which are described in greater detail in the sections that follow.

Member

Type

Description

array.GetUpperBound

Get Property

Returns the upper bound for a particular dimension of an array. The lower bound is always 0, so the total number of elements in this dimension is one greater than the upper bound.

array.Length

Get Property

Returns the total number of elements in the entire array, in all dimensions.

array.Rank

Get Property

Returns the array rank, which is the number of dimensions in an array.