ObjectIterator.Current

From Xojo Documentation

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

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