ObjectIterator.Current

From Xojo Documentation

Revision as of 22:56, 24 July 2019 by Gperlman (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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