In ArcGIS Desktop, it was very easy to:
-create a UID Class
-set a value
-enumerate through FocusMap layers, filtering by said UID Class value
This is what it looked like in ArcGIS for Desktop:
UIDClass uIDClass = new UIDClass();
uIDClass.Value = "{setValueHere}";
IEnumLayer layers = Document.FocusMap.get_Layers(uIDClass, true);
I have been searching through the Pro SDK for some sort of functional equivalent. For the life of me I can't figure out how to:
-find the UIDClass syntax to filter by, and then
-enumerate layers
I see a LOT about GetLayersAsFlattenedList(), but I can't figure out HOW to use it for my purpose.