Method
TypeInfo.GetArrayRank()
As IntegerSupported for all project types and targets.
Returns the number of dimensions of the item. GetArrayRank is valid only if IsArray is True. If the datatype is not an array, then calling GetArrayRank will raise an exception.