TypeInfo.GetElementType

From Xojo Documentation

You are currently browsing the old Xojo documentation site. Please visit the new Xojo documentation site!
Method

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.