ObjectIterator.Current

From Xojo Documentation

Read-Only Property (As Object )
ObjectValue = aObjectIterator.Current

Supported for all project types and targets.

The current object whose TypeInfo is available.

Example

This call to Current gets the Name of the object.

Var o As Runtime.ObjectIterator = Runtime.IterateObjects
o.Reset
While o.MoveNext
ListBox1.AddRow(Introspection.GetType(o.Current).Name)
Wend