I’m still using 2018r2 because that’s the last version my expired Pro license works with so let me know if it was added after that.
The example code to show you how is here: https://documentation.xojo.com/api/deprecated/xojo.core.dictionary.html#xojo-core-dictionary-getiterator
And it hasn’t changed since then, other than the Xojo. being deprecated.