Turn off all Feature Layers

Discussion created by dtmgis on Jun 29, 2011
Latest reply on Jun 30, 2011 by dtmgis
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.