TypeInfo.GetArrayRank

From Xojo Documentation

Revision as of 20:34, 26 January 2012 by Dbrandt (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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.