Array.Dim (gb)

Property Read Dim As Integer

Returns the number of dimensions of an array.