[c# ORD] how to loop elements within a profile?

how do you find a profile model and loop through the elements inside a given profile model. the GeometricModel doesnt seem to let me get to whats inside these non-indexed models. they dont show up as models in the models collection. any one point me in the right direction?