This should be pretty simple, but I can't find an example of how to go about it.
I have a map with around 40 FeatureLayers added. I have a request to add a Turn Off All Layers button so you can essentially clear the map of everything but the base layer. Can anyone point me in the right direction? VB.NET is preferable to C.