I'm combing through ArcPro snippets in GitHub, and I'm still having a very hard time transitioning to the Pro syntax.
It was very simple, in ArcGIS for Desktop, to:
-create a UID class
-assign a value
-enumerate layers, filtering by said UIDClass value
UIDClass uIDClass = new UIDClass();
uIDClass.Value = "{setValueHere}";
IEnumLayer layers = Document.FocusMap.get_Layers(uIDClass, true);
In Pro, I'm having the hardest time even finding how to enum layers! I see a LOT about GetLayersAsFlattenedList(), but I can't figure out HOW to use it for my purpose