CorArray: Length

Length

Gets a 32-bit integer that represents the total number of elements in all dimensions of the array.



 Public Function Length(
	  ByRef Arr As Variant ) As Long

Parameters

Arr
[ByRef] Variant. The array to retrieve the number of elements from.

Return Values

Long -  A 32-bit integer that represents the total number of elements in all the dimensions of Arr; zero if there are no elements in the array.

See Also

Project CorLib Overview

Class CorArray Overview

GetLength