Applies To
The DimensionCount property returns the number of dimensions on an axis.
Return Values
DimensionCount returns a Long integer, and is read-only.