Difference between revisions of "TypeInfo.GetArrayRank"

From Xojo Documentation

m (1 revision)
m
 
Line 7: Line 7:
 
| platform=all
 
| platform=all
 
}}
 
}}
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.
+
{{Description
 +
|text = 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.}}

Latest revision as of 20:34, 26 January 2012

Method

TypeInfo.GetArrayRank() As Integer

Supported 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.