Hi,
I'm trying to get the name/names of all the layers in the TOC that the user may have selected. Can anyone point me to an SDK sample or some code of how to do this??
Thanks,
Have you tried this:
var layers = MapView.Active.GetSelectedLayers();
Signed in members can post, follow updates, and more. New here? Register a free account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.