iterate through xpdictionary devexpress

C#
foreach (DevExpress.Xpo.Metadata.XPClassInfo item in xpDictionary.Classes)
{
    //…
}
Source

Also in C#: