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();
Les membres connectés peuvent publier, suivre les mises à jour, et plus encore. Nouveau ici ? Inscrivez-vous gratuitement.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.