From Xojo Documentation


TypeInfo.GetElementType() As TypeInfo

Supported for all project types and targets.

Returns the type of the element. GetElementType is valid only if the datatype has an element type, i.e., if HasElementType is True. If the datatype does not have an element type, then calling GetElementType will raise an exception.